diff --git a/assets/static/css/bcarlin.css b/assets/static/css/bcarlin.css index cada063..daf7192 100644 --- a/assets/static/css/bcarlin.css +++ b/assets/static/css/bcarlin.css @@ -236,7 +236,9 @@ body { main { .translations { text-align: end; - margin-bottom: 0.3em; + margin-block-end: 0.3em; + padding-inline-end: 2em; + font-size: 0.9em; a { text-decoration: none; diff --git a/i18n/en.yaml b/i18n/en.yaml index 2b3a6c2..59d3bf3 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -17,5 +17,6 @@ permalink_section: "Permalink to this section" tags: Tags information_icon: Information icon warning_icon: Warning icon +translations: Translations also_available_in: "Also available in:" table_of_contents: "Contents:" diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 8225ca2..baff459 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -17,5 +17,6 @@ permalink_section: Permalien vers cette partie tags: Tags information_icon: Icône information warning_icon: Icône attention +translations: Traductions also_available_in: "Également disponible en :" table_of_contents: "Contenu :" diff --git a/layouts/baseof.html b/layouts/baseof.html index 6db0687..efe3805 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -38,12 +38,12 @@
{{- if .IsTranslated }} {{- range .Translations }} -
+
+ {{- end }} {{- end }}