Make a config option for "Latest Posts" on content pages
This commit is contained in:
parent
56610009e9
commit
034ef462a2
|
@ -42,6 +42,9 @@ params:
|
|||
# reddit: true
|
||||
# telegram: true
|
||||
|
||||
# show "Latest Posts" section at bottom of content pages
|
||||
# latestPostsOnContent: true
|
||||
|
||||
# footer: >-
|
||||
# Some example text for the footer.
|
||||
|
||||
|
|
|
@ -89,5 +89,7 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ partialCached "latest-posts.html" . }}
|
||||
{{ if .Site.Params.latestPostsOnContent }}
|
||||
{{ partialCached "latest-posts.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue