hugo-geekblog/layouts/partials/svg-sprites.html

5 lines
142 B
HTML

{{ range resources.Match "sprites/*.svg" }}
{{ printf "<!-- geekblog include: %s -->" . | safeHTML }}
{{ .Content | safeHTML }}
{{ end }}