mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 08:48:26 -04:00
✨ Add article pagination links and display params
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<header>
|
||||
<h1 class="mt-0 text-4xl font-extrabold">{{ .Title }}</h1>
|
||||
<div class="mt-8 mb-12 text-base text-gray-400 dark:text-gray-500">
|
||||
{{ partial "meta.html" . }}
|
||||
{{ partial "article-meta.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
<section class="prose dark:prose-light">
|
||||
@@ -11,6 +11,7 @@
|
||||
</section>
|
||||
<footer>
|
||||
{{ partialCached "author.html" . }}
|
||||
{{ partial "article-pagination.html" . }}
|
||||
</footer>
|
||||
{{/* Comments */}}
|
||||
{{ if templates.Exists "partials/comments.html" }}
|
||||
|
||||
@@ -7,10 +7,12 @@
|
||||
<a class="text-xl font-medium hover:underline" href="{{ .Page.Permalink }}"
|
||||
>{{ .Page.Title }}</a
|
||||
>
|
||||
<span class="text-base text-gray-400">
|
||||
<span class="px-1">·</span>
|
||||
{{ .Count }}
|
||||
</span>
|
||||
{{ if $.Site.Params.taxonomy.showTermCount | default true }}
|
||||
<span class="text-base text-gray-400">
|
||||
<span class="px-1">·</span>
|
||||
{{ .Count }}
|
||||
</span>
|
||||
{{ end }}
|
||||
</h2>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user