feat: add en/zh README and exampleSite files
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user