add options to hide cover
This commit is contained in:
parent
9726b8d806
commit
d62f8595ba
@ -41,7 +41,9 @@
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if not (.Param "hideCoverInLists") }}
|
||||
{{ partial "cover.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="post-content">
|
||||
{{ if .Params.showFullContent }}
|
||||
|
@ -31,7 +31,9 @@
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if not (.Param "hideCoverInLists") }}
|
||||
{{ partial "cover.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="post-content">
|
||||
{{ if .Params.showFullContent }}
|
||||
|
@ -27,7 +27,10 @@
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if not (.Param "hideCover") }}
|
||||
{{ partial "cover.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if (.Params.Toc | default .Site.Params.Toc) }}
|
||||
<div class="table-of-contents">
|
||||
|
Loading…
x
Reference in New Issue
Block a user