mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 12:40:39 +00:00
fix: only mark weight: 1
as sticky posts (#95)
This commit is contained in:
parent
96a9792f5b
commit
09639006d9
@ -38,7 +38,7 @@
|
||||
<span class="gblog-post__tag">{{ .ReadingTime }} min read</span>
|
||||
</span>
|
||||
|
||||
{{ if .Params.weight }}
|
||||
{{ if eq .Params.weight 1 }}
|
||||
<span class="no-wrap">
|
||||
<svg class="icon gblog_pin"><use xlink:href="#gblog_pin"></use></svg>
|
||||
<span class="gblog-post__tag">Pinned</span>
|
||||
|
Loading…
Reference in New Issue
Block a user