From c636d3879662607cdaed71b7abc6ee9948d4b689 Mon Sep 17 00:00:00 2001 From: Sylvain Lafay Date: Fri, 26 Jan 2024 14:14:37 +0100 Subject: [PATCH] upadte dsfr 1.11.0 --- .gitignore | 1 - _data/i18n/en/index.js | 1 + _data/i18n/fr/index.js | 1 + _data/i18n/index.js | 2 - _includes/components/card.njk | 2 +- _includes/components/tile.njk | 2 +- _includes/layouts/base.njk | 1 + _includes/layouts/post.njk | 68 +++++++++++-------- _includes/templates/navigation.njk | 3 +- .../templates/newsletter_and_follow_us.njk | 47 ++++++------- _includes/templates/share.njk | 2 +- package.json | 6 +- public/css/index.css | 55 ++++++--------- public/icons/logo/github-fill.svg | 1 + 14 files changed, 98 insertions(+), 94 deletions(-) create mode 100644 public/icons/logo/github-fill.svg diff --git a/.gitignore b/.gitignore index ab338d7..e87ee29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ _site/ node_modules/ -package-lock.json diff --git a/_data/i18n/en/index.js b/_data/i18n/en/index.js index fbaaa57..846c3df 100644 --- a/_data/i18n/en/index.js +++ b/_data/i18n/en/index.js @@ -31,6 +31,7 @@ module.exports = { pick_theme: "Pick a Theme.", previous_page: "Previous page", published_on: "Published on", + read_also: "Read Also", results: "results", see_breadcrumb: "See Breadcrumb", see_more: "See More", diff --git a/_data/i18n/fr/index.js b/_data/i18n/fr/index.js index 8551a9c..037e7dc 100644 --- a/_data/i18n/fr/index.js +++ b/_data/i18n/fr/index.js @@ -31,6 +31,7 @@ module.exports = { pick_theme: "Choisissez un thème pour personnaliser l’apparence du site.", previous_page: "Page précédente", published_on: "Publié le", + read_also: "À lire aussi", results: "résultats", see_breadcrumb: "Voir le fil d’Ariane", see_more: "En savoir plus", diff --git a/_data/i18n/index.js b/_data/i18n/index.js index d0c6cdf..5f2e284 100644 --- a/_data/i18n/index.js +++ b/_data/i18n/index.js @@ -1,7 +1,5 @@ const {readdirSync} = require('fs'); -const chalk = require("chalk") - const langDirectories = readdirSync(__dirname, {withFileTypes: true}) .filter(dirent => dirent.isDirectory()) .map(dirent => dirent.name); diff --git a/_includes/components/card.njk b/_includes/components/card.njk index b84def6..755b18f 100644 --- a/_includes/components/card.njk +++ b/_includes/components/card.njk @@ -31,7 +31,7 @@