diff options
author | leonhe <lhe868@gmail.com> | 2019-09-30 05:42:56 +0300 |
---|---|---|
committer | leonhe <lhe868@gmail.com> | 2019-09-30 05:42:56 +0300 |
commit | 926c6e4add0f6fb3067eec810f08b90eed35ce6d (patch) | |
tree | 1138027a83d300016f916fe3c6c6cac8c7dc2b35 | |
parent | 494780026cc94d2621e0d8fd94c1450a15f25865 (diff) |
update page lable
-rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8e37a35..f2be4da 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,11 +4,13 @@ <article id='post' > <div class='title'> {{ .Title }} </div> {{ if eq .Section "post" }} - <span class="text-muted"><ion-icon name="ios-calendar"></ion-icon>Posted by: {{ .Date.Format "Mon Jan 2, 2006" }} | + <span class="text-muted"><ion-icon name="ios-calendar"></ion-icon>Posted by: { <time tile="创建于" itemprop="dateCreated datePublished" datetime="{{ .Date.Format "Mon Jan 2, 2006" }}">{{ .Date.Format "Mon Jan 2, 2006" }}</time> | <ion-icon name="ios-podium"></ion-icon>Word Count: {{ .WordCount }} | <ion-icon name="ios-time"></ion-icon> Reading Time: {{ .ReadingTime }} Minute </span> {{ end }} - {{ .Content }} + <div itemprop="articleBody"> + {{ .Content }} + </div> {{ if eq .Section "post" }} <div class="tags"> |