diff options
author | Dillon <dillonzq@outlook.com> | 2019-08-24 14:32:41 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2019-08-24 14:32:41 +0300 |
commit | 5cc4fdbe46442abe7a6949e821c1bd19370570bf (patch) | |
tree | 64505b33329ab4b0477dd907f6dc14e4bc7338fc /layouts/_default/section.html | |
parent | c8bb0770e9bca9d75771d8c397b744448c4e9647 (diff) |
feat: tidy style and layout
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r-- | layouts/_default/section.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html index d9870d7..f8dde03 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -1,11 +1,12 @@ -{{ define "title" }}{{ T .Section | default (humanize .Section) }} | {{ .Site.Title }}{{ end -}} +{{ define "title" }}{{ T "all" }}{{ T .Section | default (humanize .Section) }} | {{ .Site.Title }}{{ end -}} {{ define "content" -}} {{ $data := .Data -}} <div class="post-warp archive"> - <h2 class="post-title"> + <h2 class="post-title animated pulse faster"> {{ printf "%s%s" (T "all") (T .Section | default (humanize .Section)) }} </h2> + {{- range (.Paginate (.Pages.GroupByDate "2006")).PageGroups -}} <h3>{{ .Key }}</h3> {{- range .Pages -}} |