Rename param related to relatedposts.
This commit is contained in:
parent
62c7a1d204
commit
0d39a55736
3 changed files with 4 additions and 4 deletions
|
|
@ -190,7 +190,7 @@ params:
|
|||
privacyPolicyUrl: "" # If set will add link to cookie consent form.
|
||||
|
||||
realfavicongenerator: # If full set of favicons, site manifest etc. exists, default false.
|
||||
related: true # Show related post under a "See also" section, default false.
|
||||
relatedposts: true # Show related posts under a "See also" section, default false.
|
||||
searchLimit: 20 # Max number of search hits, default 20.
|
||||
sidebar: true # Show a sidebar to the right
|
||||
submitted: true # Show author and date information for a post.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="content">
|
||||
{{ .Content }}
|
||||
|
||||
{{ if $.Param "related" | default false }}{{ partial "related.html" . }}{{ end -}}
|
||||
{{ if $.Param "relatedposts" | default false }}{{ partial "related.html" . }}{{ end -}}
|
||||
|
||||
{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue