Prevent excess of list icons.
This commit is contained in:
@@ -21,31 +21,39 @@
|
||||
<a href="{{.Permalink}}" class="post-item-inner">
|
||||
<span class="post-title">
|
||||
{{ if .Params.draft }}
|
||||
{{ print "-=DRAFT=- "}}
|
||||
{{ print "(DRAFT) "}}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.pinned }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/paperclip.svg" alt=""
|
||||
src="/feathericons/16px-a9a9b3/paperclip.svg" alt="Pinned:"
|
||||
>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.video }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/video.svg" alt=""
|
||||
>
|
||||
Video:
|
||||
{{ else if .Params.audio }}
|
||||
Audio:
|
||||
{{ else if .Params.tags }}
|
||||
{{ index .Params.tags 0 | title }}:
|
||||
{{ end }}
|
||||
{{ if .Params.audio }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/headphones.svg" alt=""
|
||||
>
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}{{ index .Params.tags 0 | title }}:{{ end }}
|
||||
|
||||
{{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }}
|
||||
{{ "--" | markdownify }} {{ .Params.subtitle}}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.feathericon }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/{{ print .Params.feathericon }}.svg" alt=""
|
||||
>
|
||||
{{ else if .Params.video }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/film.svg" alt="(VIDEO)"
|
||||
>
|
||||
{{ else if .Params.audio }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/music.svg" alt="(AUDIO)"
|
||||
>
|
||||
{{ end }}
|
||||
</span>
|
||||
<span class="post-day">
|
||||
|
||||
Reference in New Issue
Block a user