Add feather icon to the article as well.
This commit is contained in:
@@ -25,7 +25,11 @@
|
|||||||
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if (isset .Params "author") }}
|
{{ if (isset .Params "author") }}
|
||||||
<pre>{{ partial "byline.html" . }}</pre>
|
<pre>{{ if .Params.feathericon
|
||||||
|
}}<img style="display: inline-block; vertical-align: middle; margin-right: 4px; padding-right: 4px;"
|
||||||
|
src="/feathericons/16px-a9a9b3/{{ print .Params.feathericon }}.svg" alt=""
|
||||||
|
>{{ end }}{{ partial "byline.html" .
|
||||||
|
}}</pre>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with .Params.Description }}
|
{{ with .Params.Description }}
|
||||||
|
|||||||
Reference in New Issue
Block a user