Show the pinned category with a paperclip as well.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<li class="post-item">
|
||||
<a href="{{.Permalink}}" class="post-item-inner">
|
||||
<span class="post-title">
|
||||
{{ if .Params.pinned }}
|
||||
{{ if or .Params.pinned (eq (.Title | title) "Pinned") }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/paperclip.svg" alt="Pinned:"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user