feat: add en/zh README and exampleSite files

This commit is contained in:
Dillon
2019-08-26 02:25:56 +08:00
parent ca6d543878
commit af3161fff6
48 changed files with 912 additions and 2518 deletions

View File

@@ -1,10 +1,10 @@
{{ define "title" }}{{ T "all" }}{{ T .Section | default (humanize .Section) }} | {{ .Site.Title }}{{ end -}}
{{ define "title" }}{{ T "all" | humanize}}{{ T .Section | default .Section | humanize }} | {{ .Site.Title }}{{ end -}}
{{ define "content" -}}
{{ $data := .Data -}}
<div class="post-warp archive">
<h2 class="post-title animated pulse faster">
{{ printf "%s%s" (T "all") (T .Section | default (humanize .Section)) }}
{{ T "all" | humanize}}{{ T .Section | default .Section | humanize }}
</h2>
{{- range (.Paginate (.Pages.GroupByDate "2006")).PageGroups -}}