let decide in frontmatter to show related posts
This commit is contained in:
parent
7e7bfcc33c
commit
0fb91eec97
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
</section>
|
||||
<footer class="max-w-prose pt-8 print:hidden">
|
||||
{{ partial "author.html" . }}
|
||||
{{ if .Params.showRelated | default (.Site.Params.article.showRelated | default true) }}
|
||||
<!-- Related -->
|
||||
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
||||
<div class="pt-3">
|
||||
|
@ -54,6 +55,7 @@
|
|||
</div>
|
||||
</section>
|
||||
<!-- /Related -->
|
||||
{{ end }}
|
||||
{{ partial "sharing-links.html" . }}
|
||||
{{ partial "article-pagination.html" . }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue