From 5fe545dea4237176b4854bfc8e9d11ed153617e7 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Fri, 12 Jul 2024 12:41:56 +0200 Subject: [PATCH] test if hugo modules work now --- .gitmodules | 3 --- config.toml | 14 +++++++++++++- go.mod | 5 +++++ go.sum | 2 ++ themes/hugo-book | 1 - 5 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 .gitmodules create mode 100644 go.mod create mode 100644 go.sum delete mode 160000 themes/hugo-book diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index eb0c23c..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/hugo-book"] - path = themes/hugo-book - url = https://code.lila.network/adoralaura/hugo-book-theme.git diff --git a/config.toml b/config.toml index cd1a056..53adace 100644 --- a/config.toml +++ b/config.toml @@ -2,5 +2,17 @@ baseURL = 'https://certwarden-deploy.adora.codes/' languageCode = 'en-us' title = 'certwarden-deploy' -theme = 'hugo-book' +theme = "code.lila.network/adoralaura/hugo-book-theme" + + +[params] + # (Optional, default light) Sets color theme: light, dark or auto. + # Theme 'auto' switches between dark and light modes based on browser/os preferences + BookTheme = 'auto' + BookRepo = 'https://code.lila.network/adoralaura/certwarden-deploy' + + +[module] + [[module.imports]] + path = "code.lila.network/adoralaura/hugo-book-theme" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a038a0f --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module code.lila.network/adoralaura/certwarden-deploy-docs + +go 1.22.2 + +require code.lila.network/adoralaura/hugo-book-theme v0.0.0-20240712103017-55b1193ecd34 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..8829714 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +code.lila.network/adoralaura/hugo-book-theme v0.0.0-20240712103017-55b1193ecd34 h1:jgwSyEijB5R4TxGxsO6Lugm1+bcaw7Tz5rCxptmc92A= +code.lila.network/adoralaura/hugo-book-theme v0.0.0-20240712103017-55b1193ecd34/go.mod h1:MBe0adh4WF9iMJ51BCRAeKkPUda/JB9RlGUQwmk5qc0= diff --git a/themes/hugo-book b/themes/hugo-book deleted file mode 160000 index 7c26d9b..0000000 --- a/themes/hugo-book +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7c26d9b8b731d556a2bf89848f59e8300eabc44b