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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-02-03 13:38:10 +0300
committerDillon <dillonzq@outlook.com>2020-02-03 13:38:10 +0300
commit52c7ad29a60cc4ee6c51217d11bb4877ef0cf88a (patch)
tree4bf578ddcdbf78b8543bf33d948feceac2b7f5e8 /layouts/_default/section.html
parent8aba2262906628f38f114a9947783bc6c7fd7495 (diff)
chore(style): update code style and add an i18n word
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r--layouts/_default/section.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index a6f7aac..499fd23 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -3,12 +3,13 @@
{{- end -}}
{{- define "content" -}}
- {{- $data := .Data -}}
<div class="page archive">
+ {{- /* Title */ -}}
<h2 class="post-title animated pulse faster">
{{- T "all" | humanize}}{{ T .Section | default .Section | humanize -}}
</h2>
+ {{- /* Paginate */ -}}
{{- range (.Paginate (.Pages.GroupByDate "2006")).PageGroups -}}
<h3>{{ .Key }}</h3>
{{- range .Pages -}}