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>
|
</section>
|
||||||
<footer class="max-w-prose pt-8 print:hidden">
|
<footer class="max-w-prose pt-8 print:hidden">
|
||||||
{{ partial "author.html" . }}
|
{{ partial "author.html" . }}
|
||||||
|
{{ if .Params.showRelated | default (.Site.Params.article.showRelated | default true) }}
|
||||||
<!-- Related -->
|
<!-- Related -->
|
||||||
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
||||||
<div class="pt-3">
|
<div class="pt-3">
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- /Related -->
|
<!-- /Related -->
|
||||||
|
{{ end }}
|
||||||
{{ partial "sharing-links.html" . }}
|
{{ partial "sharing-links.html" . }}
|
||||||
{{ partial "article-pagination.html" . }}
|
{{ partial "article-pagination.html" . }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue