forked from drowl87/hextra_mirror
fix: reverse order in blog list page (#87)
* feat: support reverse order in blog list page * chore: update blog list order --------- Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
parent
79883dc7cc
commit
da5a087891
@ -6,7 +6,7 @@
|
|||||||
<br class="mt-1.5 text-sm" />
|
<br class="mt-1.5 text-sm" />
|
||||||
<h1 class="text-center mt-2 text-4xl font-bold tracking-tight text-slate-900 dark:text-slate-100">{{ .Title }}</h1>
|
<h1 class="text-center mt-2 text-4xl font-bold tracking-tight text-slate-900 dark:text-slate-100">{{ .Title }}</h1>
|
||||||
<div class="content">{{ .Content }}</div>
|
<div class="content">{{ .Content }}</div>
|
||||||
{{ range .Pages.ByDate }}
|
{{ range .Pages.ByDate.Reverse }}
|
||||||
<div class="mb-10">
|
<div class="mb-10">
|
||||||
<h3><a style="color: inherit; text-decoration: none;" class="block font-semibold mt-8 text-2xl " href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
<h3><a style="color: inherit; text-decoration: none;" class="block font-semibold mt-8 text-2xl " href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
<p class="opacity-80 mt-6 leading-7">
|
<p class="opacity-80 mt-6 leading-7">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user