From 49eea02f7b74fb1560173b78cafd5e62a4e8ab39 Mon Sep 17 00:00:00 2001 From: mboultoureau Date: Mon, 1 Aug 2022 08:07:12 +0200 Subject: [PATCH 1/2] Fix preload dark icon --- layouts/partials/head.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 59da3ee..eccd837 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,10 +33,14 @@ {{ end }} + {{ $dark_icon := "theme.png" }} + {{ if site.Params.monoDarkIcon }} + {{ $dark_icon := "theme.svg" }} + {{ end }} {{ $avatar_url := $.Scratch.Get "avatar_url" }} From 71a2299a893842b57c712f8112df0dde9a7cfd0d Mon Sep 17 00:00:00 2001 From: mboultoureau Date: Mon, 1 Aug 2022 13:41:47 +0200 Subject: [PATCH 2/2] Add french translations --- i18n/fr.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 i18n/fr.yaml diff --git a/i18n/fr.yaml b/i18n/fr.yaml new file mode 100644 index 0000000..ab0630a --- /dev/null +++ b/i18n/fr.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Page précédente' + +- id: next_page + translation: 'Page suivante'