lestoitsduval/layouts/shortcodes/data.html

5 lines
115 B
HTML

{{- $file := .Get 0 -}}
{{- $key := .Get 1 -}}
{{- $data := index (index $.Site.Data $file) $key -}}
{{- $data -}}