From 05bc3d42953263c63a7925605653cfca9d1a5f41 Mon Sep 17 00:00:00 2001 From: Akumatic Date: Wed, 23 Apr 2025 10:14:57 +0200 Subject: [PATCH] Add hugo-notice theme for info boxes --- .gitmodules | 3 +++ config/_default/hugo.toml | 2 +- themes/hugo-notice | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 themes/hugo-notice diff --git a/.gitmodules b/.gitmodules index 22498ab..aa8de36 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/stack"] path = themes/stack url = https://github.com/CaiJimmy/hugo-theme-stack.git +[submodule "themes/hugo-notice"] + path = themes/hugo-notice + url = https://github.com/martignoni/hugo-notice.git diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 6f28623..452ea90 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,6 +1,6 @@ # Change baseurl before deploy baseurl = "https://www.akumatic.eu" -theme = "stack" +theme = ["hugo-notice", "stack"] # Theme i18n support # Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar diff --git a/themes/hugo-notice b/themes/hugo-notice new file mode 160000 index 0000000..d7e24b0 --- /dev/null +++ b/themes/hugo-notice @@ -0,0 +1 @@ +Subproject commit d7e24b0222d4d3fd35ebdc39705b7413435e0762