change some words to chinese

This commit is contained in:
2021-08-23 22:21:06 +08:00
parent 05f1eaf95a
commit d33c84a200
3 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
{{ if isset .Params "date" }}<p class="post-date">发布于<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006年1月2日" }}</time></p>{{ end }}
</header>
{{ with .Resources.GetMatch "featuredImage" -}}
<picture class="post-figure">
@@ -26,7 +26,7 @@
{{- end }}
{{- end }}
{{ if .Params.toc -}}
<h2>Contents</h2>
<h2>目录</h2>
{{ .TableOfContents }}
{{- end }}
{{ .Content }}