Add showing video and audio icons.
This commit is contained in:
@@ -20,9 +20,19 @@
|
||||
<li class="post-item">
|
||||
<a href="{{.Permalink}}" class="post-item-inner">
|
||||
<span class="post-title">
|
||||
{{ if or .Params.pinned (eq (.Title | title) "Pinned") }}
|
||||
{{ if .Params.pinned }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/paperclip.svg" alt="Pinned:"
|
||||
src="/feathericons/16px-a9a9b3/paperclip.svg" alt=""
|
||||
>
|
||||
{{ end }}
|
||||
{{ if .Params.video }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/video.svg" alt=""
|
||||
>
|
||||
{{ 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 }}
|
||||
|
||||
Reference in New Issue
Block a user