hugo-geekblog/layouts/partials/svg-icon-symbols.html
Robert Kaussow 42968b6a30
feat: auto-load custom svg sprites from assets folder (#40)
BREAKING CHANGE:

The icon gdoc_telescope was removed. If you are using this icon you have to replace it.

Build-in icons are prefixed with gdoc_ now. If you use built-in icons in e.g. menus you have to rename these references!
2021-05-23 22:04:57 +02:00

5 lines
138 B
HTML

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