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