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