Allow choosing any feather icon, rather than having a tree of options.
This commit is contained in:
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user