parent
eb6e94d1d2
commit
1a2a6d7c78
|
@ -21,10 +21,10 @@
|
|||
</h3>
|
||||
<div class="archive-meta">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{- if $.Site.Params.ShowReadingTime }} .
|
||||
{{- if $.Site.Params.ShowReadingTime }} ·
|
||||
{{- $default_txt := print .ReadingTime " " "min" }}
|
||||
{{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
|
||||
{{- if or .Params.author .Site.Params.author }} . {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||
{{- if or .Params.author .Site.Params.author }} · {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||
</div>
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</div>
|
||||
|
|
|
@ -49,10 +49,10 @@
|
|||
{{- end }}
|
||||
<footer class="entry-footer">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{- if $.Site.Params.ShowReadingTime }} .
|
||||
{{- if $.Site.Params.ShowReadingTime }} ·
|
||||
{{- $default_txt := print .ReadingTime " " "min" }}
|
||||
{{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
|
||||
{{- if or .Params.author .Site.Params.author }} . {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||
{{- if or .Params.author .Site.Params.author }} · {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||
</footer>
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</article>
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
{{- if .Params.hideMeta }}{{ else }}
|
||||
<div class="post-meta">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{- if $.Site.Params.ShowReadingTime -}} .
|
||||
{{- if $.Site.Params.ShowReadingTime -}} ·
|
||||
{{- $default_txt := print .ReadingTime " " "min" }}
|
||||
{{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
|
||||
{{- if or .Params.author .Site.Params.author }} . {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||
{{- if or .Params.author .Site.Params.author }} · {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||
{{- if .IsTranslated -}} |
|
||||
<ul class="i18n_list">
|
||||
{{- i18n "translations" | default "Translations"}}:
|
||||
|
|
Loading…
Reference in New Issue