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