Files
bobatheme/layouts/_shortcodes/resource.html
2025-07-06 19:45:00 -05:00

10 lines
264 B
HTML

{{ with .Get 0 }}
{{ with $.Page.Resources.Get . }}
{{ partial "embed-resource.html" . }}
{{ else }}
{{ errorf "resource %q not found" . }}
{{ end }}
{{ else }}
{{ errorf "resource name not provided as first parameter" }}
{{ end }}