mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
✨ Add front matter for various display options
This commit is contained in:
@@ -1 +1 @@
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a class="heading-anchor" href="#{{ .Anchor | safeURL }}" aria-label="Anchor">#</a></h{{ .Level }}>
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} {{ if .Page.Params.showHeadingAnchors | default (.Page.Site.Params.article.showHeadingAnchors | default true) }}<a class="heading-anchor" href="#{{ .Anchor | safeURL }}" aria-label="Anchor">#</a>{{ end }}</h{{ .Level }}>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
{{ .Content | emojify }}
|
||||
</section>
|
||||
<footer>
|
||||
{{ partialCached "author.html" . }}
|
||||
{{ partial "author.html" . }}
|
||||
{{ partial "article-pagination.html" . }}
|
||||
</footer>
|
||||
{{/* Comments */}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ if .Site.Params.article.showPagination | default true }}
|
||||
{{ if .Params.showPagination | default (.Site.Params.article.showPagination | default true) }}
|
||||
{{ if or .NextInSection .PrevInSection }}
|
||||
<div class="pt-8">
|
||||
<hr class="border-gray-300 border-dotted dark:border-gray-600" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ if .Site.Params.article.showAuthor | default true }}
|
||||
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
|
||||
<div class="flex items-center pt-8">
|
||||
{{ with .Site.Author.image }}
|
||||
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . }}" />
|
||||
|
||||
Reference in New Issue
Block a user