fixed also labeling localization for post card

This commit is contained in:
Augusto Pace 2023-10-23 16:50:13 +02:00
parent e038005f6f
commit ec09d6a19f
3 changed files with 29 additions and 11 deletions

View file

@ -124,3 +124,9 @@ other = "Liability Notice"
[search]
other = "Search"
[minute]
other = "minute"
[minutes]
other = "minutes"

View file

@ -3,7 +3,7 @@
other = "Home"
[posts]
other = "Post"
other = "Articoli"
[toc_heading]
other = "Contenuti"
@ -92,20 +92,20 @@ other = "Responsabilità:"
[present]
other = "Ad oggi"
# [comments_javascript]
# other = "Please enable JavaScript to view the"
[comments_javascript]
other = "Per favore attiva JavaScript per vedere il"
# [comments_by]
# other = "comments powered by"
# [read]
# other = "Read"
[read]
other = "Leggi"
# [project_star]
# other = "Star"
# [project_details]
# other = "Details"
[project_details]
other = "Dettagli"
# [err_404]
# other = "The page you are looking for is not there yet."
@ -124,3 +124,9 @@ other = "Avviso di responsabilità"
[search]
other = "Ricerca"
[minute]
other = "minuto"
[minutes]
other = "minuti"

View file

@ -12,12 +12,18 @@
{{ end }}
</div>
<div class="card-footer">
<span class="float-left">{{ .Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }}{{ end }}</span>
<span class="float-left">
{{ .Date | time.Format ":date_full" }}
{{ if site.Params.features.readingTime }} | {{ .ReadingTime }}
{{ if (ne .ReadingTime 1) }}
{{ i18n "minutes" }}
{{ else }}
{{ i18n "minute" }}
{{ end }}
{{ end }}</span>
<a
href="{{ .RelPermalink | relLangURL }}"
class="float-right btn btn-outline-info btn-sm"
>{{ i18n "read" }}</a
>
class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
</div>
</div>
</a>