mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-07 04:27:31 -05:00
10 lines
264 B
HTML
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 }}
|