Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonhe/hugo_eiio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonhe <lhe868@gmail.com>2019-09-30 05:42:56 +0300
committerleonhe <lhe868@gmail.com>2019-09-30 05:42:56 +0300
commit926c6e4add0f6fb3067eec810f08b90eed35ce6d (patch)
tree1138027a83d300016f916fe3c6c6cac8c7dc2b35
parent494780026cc94d2621e0d8fd94c1450a15f25865 (diff)
update page lable
-rw-r--r--layouts/_default/single.html6
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:&nbsp;{{ .Date.Format "Mon Jan 2, 2006" }} |
+ <span class="text-muted"><ion-icon name="ios-calendar"></ion-icon>Posted by:&nbsp;{ <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 }}&nbsp;&nbsp; |
<ion-icon name="ios-time"></ion-icon> Reading Time: {{ .ReadingTime }} Minute&nbsp;&nbsp;</span>
{{ end }}
- {{ .Content }}
+ <div itemprop="articleBody">
+ {{ .Content }}
+ </div>
{{ if eq .Section "post" }}
<div class="tags">