Allow choosing any feather icon, rather than having a tree of options.

This commit is contained in:
2025-12-22 12:27:13 -07:00
parent ab68378ada
commit 15f93817ac

View File

@@ -35,6 +35,11 @@
src="/feathericons/16px-a9a9b3/headphones.svg" alt="" src="/feathericons/16px-a9a9b3/headphones.svg" alt=""
> >
{{ end }} {{ end }}
{{ if .Params.feathericon }}
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
src="/feathericons/16px-a9a9b3/{{ print .Params.feathericon }}.svg" alt=""
>
{{ end }}
{{ if .Params.tags }}{{ index .Params.tags 0 | title }}:{{ end }} {{ if .Params.tags }}{{ index .Params.tags 0 | title }}:{{ end }}
{{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }} {{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }}
{{ "--" | markdownify }} {{ .Params.subtitle}} {{ "--" | markdownify }} {{ .Params.subtitle}}