From 9618ea9f23a83cc41cf600ed5115f82e003620df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 22 Feb 2024 19:08:46 +0100 Subject: [PATCH] docs: fix Hugo crash caused by mount malconfiguration using Hugo 0.123.2 --- exampleSite/config/_default/hugo.toml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index f235e6d6c65..005fb882d2e 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -192,13 +192,6 @@ title = "Hugo Relearn Theme" [[module.mounts]] source = 'i18n' target = 'i18n' - # just for this documentation to expose the GitHub hero image in the docs - [[module.mounts]] - source = '../images' - target = 'static/images' - [[module.mounts]] - source = 'static/images' - target = 'static/images' [[module.mounts]] source = 'layouts' target = 'layouts' @@ -209,6 +202,10 @@ title = "Hugo Relearn Theme" [[module.mounts]] source = 'config' target = 'static/config' + # just for this documentation to expose the GitHub hero image in the docs + [[module.mounts]] + source = '../images' + target = 'static/images' [params] # Demo setting for displaying the siteparam shortcode the docs.