i18n reading-time added
This commit is contained in:
parent
543f5e4d87
commit
2a0d8ca0bc
|
@ -4,6 +4,9 @@ other = "Search"
|
||||||
[summary-dateformat]
|
[summary-dateformat]
|
||||||
other = "Jan 2, 2006"
|
other = "Jan 2, 2006"
|
||||||
|
|
||||||
|
[reading-time]
|
||||||
|
other = "min read"
|
||||||
|
|
||||||
[taxo-tags]
|
[taxo-tags]
|
||||||
other = "Tags"
|
other = "Tags"
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ other = "검색"
|
||||||
[summary-dateformat]
|
[summary-dateformat]
|
||||||
other = "2006년 01월 02일"
|
other = "2006년 01월 02일"
|
||||||
|
|
||||||
|
[reading-time]
|
||||||
|
other = "min read"
|
||||||
|
|
||||||
[taxo-tags]
|
[taxo-tags]
|
||||||
other = "태그"
|
other = "태그"
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ other = "搜索"
|
||||||
[summary-dateformat]
|
[summary-dateformat]
|
||||||
other = "2006年 01月 02日"
|
other = "2006年 01月 02日"
|
||||||
|
|
||||||
|
[reading-time]
|
||||||
|
other = "分钟"
|
||||||
|
|
||||||
[taxo-tags]
|
[taxo-tags]
|
||||||
other = "标签"
|
other = "标签"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="single__infos">
|
<div class="single__infos">
|
||||||
🕓 {{ .Date.Format (i18n "single-dateformat") }} {{ if .GitInfo }} · <span class="single__info"> 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </span> {{ end }} · <span class="single__info"> ☕ {{ .ReadingTime }} min read </span>
|
🕓 {{ .Date.Format (i18n "single-dateformat") }} {{ if .GitInfo }} · <span class="single__info"> 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </span> {{ end }} · <span class="single__info"> ☕ {{ .ReadingTime }} {{ i18n "reading-time" }} </span>
|
||||||
<span class="single__info">
|
<span class="single__info">
|
||||||
{{ if (and .Site.Params.enableBusuanzi .Site.Params.busuanziPagePV) }} · 👀<span id="busuanzi_value_page_pv">...</span> {{ i18n "counter-page-pv" }}{{ end }}
|
{{ if (and .Site.Params.enableBusuanzi .Site.Params.busuanziPagePV) }} · 👀<span id="busuanzi_value_page_pv">...</span> {{ i18n "counter-page-pv" }}{{ end }}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<article class="summary-card">
|
<article class="summary-card">
|
||||||
<header>
|
<header>
|
||||||
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
||||||
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} {{ if .GitInfo }} · 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} {{ end }} · ☕{{ .ReadingTime }} min read</h6>
|
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} {{ if .GitInfo }} · 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} {{ end }} · ☕{{ .ReadingTime }} {{ i18n "reading-time" }}</h6>
|
||||||
</header>
|
</header>
|
||||||
{{ $params := .Params }}
|
{{ $params := .Params }}
|
||||||
<div class="summary-card__content">
|
<div class="summary-card__content">
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<div class="summary-classic__content">
|
<div class="summary-classic__content">
|
||||||
<header>
|
<header>
|
||||||
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
||||||
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} {{ if .GitInfo }} · 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} {{ end }} · ☕{{ .ReadingTime }} min read
|
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} {{ if .GitInfo }} · 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} {{ end }} · ☕{{ .ReadingTime }} {{ i18n "reading-time" }}
|
||||||
</h6>
|
</h6>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="summary-compact__meta">
|
<div class="summary-compact__meta">
|
||||||
<header>
|
<header>
|
||||||
<h5 class="title h6"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
<h5 class="title h6"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
||||||
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} {{ if .GitInfo }} · 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} {{ end }} · ☕{{ .ReadingTime }} min read
|
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} {{ if .GitInfo }} · 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} {{ end }} · ☕{{ .ReadingTime }} {{ i18n "reading-time" }}
|
||||||
</h6>
|
</h6>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue