mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 08:48:26 -04:00
✨ Add edit links on article pages
This commit is contained in:
@@ -9,14 +9,11 @@
|
||||
<span class="mr-3 article-pagination-direction">←</span>
|
||||
<span class="flex flex-col">
|
||||
<span class="article-pagination-title">{{ .NextInSection.Title }}</span>
|
||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||
<time
|
||||
class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500"
|
||||
datetime="{{ .Date }}"
|
||||
>
|
||||
{{ .Date.Format .Site.Params.article.dateFormat | default "2 January 2006" }}
|
||||
</time>
|
||||
{{ end }}
|
||||
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500">
|
||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||
{{ partial "meta/date.html" . }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
@@ -26,14 +23,11 @@
|
||||
<a class="flex text-right" href="{{ .PrevInSection.Permalink }}">
|
||||
<span class="flex flex-col">
|
||||
<span class="article-pagination-title">{{ .PrevInSection.Title }}</span>
|
||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||
<time
|
||||
class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500"
|
||||
datetime="{{ .Date }}"
|
||||
>
|
||||
{{ .Date.Format .Site.Params.article.dateFormat | default "2 January 2006" }}
|
||||
</time>
|
||||
{{ end }}
|
||||
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500">
|
||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||
{{ partial "meta/date.html" . }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</span>
|
||||
<span class="ml-3 article-pagination-direction">→</span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user