From 797f7b0caa1a77e653ac548de56a606c168466c8 Mon Sep 17 00:00:00 2001 From: RadioPotin Date: Mon, 2 Sep 2024 10:57:35 +0200 Subject: [PATCH] attempt fix at image path resolution --- hugo.toml | 5 +++-- layouts/partials/site-navigation.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index 8f88574..7d80c36 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,5 +1,4 @@ baseURL = 'https://decysif.fr' -languageCode = 'fr' title = 'DéCySif' copyright = 'OCamlPro' SectionPagesMenu = "main" @@ -26,7 +25,7 @@ Paginate = 10 legal = "DéCySif is a project funded by the i-Démo call and the Ile-de-France region." [params] - site_logo = '../images/logo_decysif_excellence_for_security_blank_bg_rectangle.svg' + site_logo = 'images/logo_decysif_excellence_for_security_blank_bg_rectangle.svg' text_color = "" recent_posts_number = 5 [params.contact] @@ -35,3 +34,5 @@ Paginate = 10 # Helps display HTML inlined inside of frontmatter variables [markup.goldmark.renderer] unsafe = true + +relativeURLs = true diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html index 7d8410d..0afe3bb 100644 --- a/layouts/partials/site-navigation.html +++ b/layouts/partials/site-navigation.html @@ -2,7 +2,7 @@
{{ with .Site.Params.site_logo }} - + {{ else }} {{ .Site.Title }} {{ end }}