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

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Chalin <chalin@users.noreply.github.com>2022-10-10 19:22:25 +0300
committerGitHub <noreply@github.com>2022-10-10 19:22:25 +0300
commitded6a0d97909338a2757c1f2f30262fd2d658a65 (patch)
treed892042ee667fd4f8c6b4f531580eeeb4202e641
parent14cee5a8b6a8f5f9361d430899d0ee7f2645003d (diff)
Revert #1200 to recover desc blog post order (#1269)
-rw-r--r--layouts/blog/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index c63c309..0f781cb 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -8,7 +8,7 @@
<div class="row">
<div class="col-12">
{{- if .Pages -}}
- {{ $pag := .Paginate (( $.Scratch.Get "blog-pages").GroupByDate "2006" "asc" )}}
+ {{ $pag := .Paginate (( $.Scratch.Get "blog-pages").GroupByDate "2006" )}}
{{ range $pag.PageGroups }}
<h2>{{ T "post_posts_in" }} {{ .Key }}</h2>
<ul class="list-unstyled mt-4">