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,4 +1,4 @@
{{ define "title" }}{{ T "all" }}{{ T .Data.Plural | default (humanize .Data.Plural) }} | {{ .Site.Title }}{{ end }}
{{ define "title" }}{{ T "all" | humanize}}{{ T .Data.Plural | default .Data.Plural | humanize }} | {{ .Site.Title }}{{ end }}
{{ define "content" }}
{{ $taxonomies := .Data.Plural }}
@@ -7,7 +7,7 @@
<div class="post-warp archive">
<h2 class="post-title animated pulse faster">
{{- printf "%s%s" (T "all") (T $taxonomies | default (humanize $taxonomies)) -}}
{{ T "all" | humanize}}{{ T $taxonomies | default $taxonomies | humanize }}
</h2>
<!-- Categories Page -->