mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-21 02:04:50 -04:00
✨ Add params for hiding date and reading time per article
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<span class="mr-3">←</span>
|
||||
<span class="flex flex-col">
|
||||
<span class="button__text">{{ .NextInSection.Title }}</span>
|
||||
{{ if .Site.Params.article.showDate | default true }}
|
||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||
<time
|
||||
class="-mt-1 text-xs text-gray-400 dark:text-gray-500"
|
||||
datetime="{{ .Date }}"
|
||||
@@ -26,7 +26,7 @@
|
||||
<a class="flex text-right" href="{{ .PrevInSection.Permalink }}">
|
||||
<span class="flex flex-col">
|
||||
<span>{{ .PrevInSection.Title }}</span>
|
||||
{{ if .Site.Params.article.showDate | default true }}
|
||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||
<time
|
||||
class="-mt-1 text-xs text-gray-400 dark:text-gray-500"
|
||||
datetime="{{ .Date }}"
|
||||
|
||||
Reference in New Issue
Block a user