lien entre articles pour traductions

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

View file

@ -7,9 +7,6 @@ other = "Pennadoù nevez"
[tags] [tags]
other = "Tikedennoù" 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] [published]
other = "Embannet" other = "Embannet"
@ -25,7 +22,7 @@ two = "~2 vn"
other = "~{{ .Count }} a vunutennoù" other = "~{{ .Count }} a vunutennoù"
[recentContent] [recentContent]
other = "Contenu récent sur" other = "Traoù nevez"
[readMore] [readMore]
other = "Lenn muioc'h" other = "Lenn muioc'h"
@ -36,7 +33,6 @@ other = "Muioc'h a bennadoù"
[social] [social]
other = "Sokial" other = "Sokial"
[present] [present]
other = "hiziv" other = "hiziv"
@ -44,4 +40,7 @@ other = "hiziv"
other = "Pennadoù kar" other = "Pennadoù kar"
[lastPosts] [lastPosts]
other = "Pennadoù diwezhañ" other = "Pennadoù diwezhañ"
[inLanguage]
other = "E brezhoneg"

View file

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

View file

@ -12,7 +12,12 @@
{{ end }} {{ end }}
</div> </div>
<h1 class="mb-0 mt-2">{{ .Title }}</h1> <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 }} {{ if .Params.Image }}
{{ $article := .Permalink | relURL }} {{ $article := .Permalink | relURL }}