From 587ca11fbcf5e3f7a7da8140ca1eac4ddd460413 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Sun, 24 Oct 2021 14:25:52 +0200 Subject: [PATCH] =?UTF-8?q?th=C3=A8me:=20param=C3=A8tre=20et=20affiche=20u?= =?UTF-8?q?n=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit parmètre le menu dans le fichier `config.toml` et utilise la nouvelle version du thème qui améliore la disposition et la logique du menu. Co-Authored-by: iGor milhit --- config.toml | 16 ++++++++++++++++ themes/portfoliGor | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 893c195..0bc9d39 100644 --- a/config.toml +++ b/config.toml @@ -6,6 +6,21 @@ theme = "portfoliGor" enableGitInfo = true paginate = 0 +[menu] +[[menu.main]] + identifier = 'blog' + name = 'Blog' + title = 'La section blog' + url = '/blog/' + weight = -110 +[[menu.main]] + identifier = 'categories' + name = 'Catégories' + title = 'La liste des catégories' + url = '/categories/' + weight = 0 + + [author] name = "iGor milhit" email = "igor@milhit.ch" @@ -22,6 +37,7 @@ lastmod = [":git", "lastmod"] unsafe= true + [params] Description = "Site web personnel d'iGor milhit." diff --git a/themes/portfoliGor b/themes/portfoliGor index 7bba092..c0f6de2 160000 --- a/themes/portfoliGor +++ b/themes/portfoliGor @@ -1 +1 @@ -Subproject commit 7bba092f68488116a7b010ee4bdddd7c1cbee071 +Subproject commit c0f6de2ab1977de839ade035c4d60596e3cea331