mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
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
|
# reddit: true
|
||||||
# telegram: true
|
# telegram: true
|
||||||
|
|
||||||
|
# show "Latest Posts" section at bottom of content pages
|
||||||
|
# latestPostsOnContent: true
|
||||||
|
|
||||||
# footer: >-
|
# footer: >-
|
||||||
# Some example text for the footer.
|
# Some example text for the footer.
|
||||||
|
|
||||||
|
@ -89,5 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .Site.Params.latestPostsOnContent }}
|
||||||
{{ partialCached "latest-posts.html" . }}
|
{{ partialCached "latest-posts.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user