lien entre articles pour traductions

This commit is contained in:
Ewen 2023-08-10 08:29:01 +02:00
parent 59e911e05d
commit c8fbd4bd6c
3 changed files with 15 additions and 8 deletions

View file

@ -7,9 +7,6 @@ other = "Pennadoù nevez"
[tags]
other = "Tikedennoù"
[poweredby]
other = "Couvaison rendue possible par <a href=\"https://gohugo.io\">Hugo</a> &amp; <a href=\"https://forge.goe.land/eorn/simple-goeland\">Simple-Goeland</a>."
[published]
other = "Embannet"
@ -25,7 +22,7 @@ two = "~2 vn"
other = "~{{ .Count }} a vunutennoù"
[recentContent]
other = "Contenu récent sur"
other = "Traoù nevez"
[readMore]
other = "Lenn muioc'h"
@ -36,7 +33,6 @@ other = "Muioc'h a bennadoù"
[social]
other = "Sokial"
[present]
other = "hiziv"
@ -44,4 +40,7 @@ other = "hiziv"
other = "Pennadoù kar"
[lastPosts]
other = "Pennadoù diwezhañ"
other = "Pennadoù diwezhañ"
[inLanguage]
other = "E brezhoneg"

View file

@ -42,4 +42,7 @@ other = "aujourd'hui"
other = "Billets similaires"
[lastPosts]
other = "Derniers billets"
other = "Derniers billets"
[inLanguage]
other = "En français"

View file

@ -12,7 +12,12 @@
{{ end }}
</div>
<h1 class="mb-0 mt-2">{{ .Title }}</h1>
<p class="mb-1">{{ i18n "published" }} {{ i18n "on" }} {{ (time .Date) | time.Format (.Params.date_format | default "2 January 2006") }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</p>
<p class="mt-2 mb-0">{{ i18n "published" }} {{ i18n "on" }} {{ (time .Date) | time.Format (.Params.date_format | default "2 January 2006") }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</p>
{{ if .IsTranslated }}
{{ range .Translations }}
<p class="mb-1">{{ .Lang }} : <a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }}
{{ end }}
{{ if .Params.Image }}
{{ $article := .Permalink | relURL }}