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