Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-20 18:27:32 +0300
committerHanzei <hanzei@mailbox.org>2018-07-20 18:27:32 +0300
commit8c258bbd0700e62be2feb5e516a4e6efe47e5776 (patch)
tree4692598ec2dec0439e63c9bff4e207dcc3b0c478 /layouts/_default/taxonomy.html
parentef5feab3ef4a66a03ccc89416303cfb6d5293a3a (diff)
Use abs URL every time
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 786676b..cf9409a 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -8,9 +8,9 @@
{{ .Content }}
</article>
<ul>
- {{ range .Pages.ByPublishDate }}
+ {{ range .Pages.ByPublishDate.Reverse }}
<li>
- <a href="{{.Permalink}}">{{.Date.Format (.Site.Params.dateform | default "Jan 02, 2006") }} | {{.Title}}</a>
+ <a href="{{ .Permalink }}">{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }} | {{ .Title }}</a>
</li>
{{ end }}
</ul>