From 0f82acfe4c256ed41da8231865805d2ad62e82f7 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sat, 17 Apr 2021 19:40:01 +0200 Subject: [PATCH] change theme --- .gitmodules | 6 ++--- config.toml | 45 +++++++++++++++++++++++++++++++++++++- themes/papercss-hugo-theme | 1 - themes/terminal | 1 + 4 files changed, 48 insertions(+), 5 deletions(-) delete mode 160000 themes/papercss-hugo-theme create mode 160000 themes/terminal diff --git a/.gitmodules b/.gitmodules index 54ec000..a6851ba 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/papercss-hugo-theme"] - path = themes/papercss-hugo-theme - url = https://github.com/zwbetz-gh/papercss-hugo-theme.git +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git diff --git a/config.toml b/config.toml index 5a680ff..f0a6e0a 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,47 @@ baseURL = "https://xd0.de/doc/" languageCode = "de-DE" +defaultContentLanguage = "de" title = "xd0.de" -theme = "papercss-hugo-theme" +theme = "terminal" +paginate = 5 + +[params] + contentTypeName = "post" + themeColor = "orange" + showMenuItems = 5 + showLanguageSelector = false + fullWidthTheme = true + centerTheme = true + +[languages] + [languages.de] + title = "xd0.de - Documentation" + subtitle = "xd0.de platform documentation" + keywords = "" + copyright = "" + menuMore = "Show more" + readMore = "Read more" + readOtherPosts = "Read other posts" + + [languages.de.params.logo] + logoText = "xd0.de" + logoHomeLink = "/" + + [languages.de.menu] + [[languages.de.menu.main]] + identifier = "about" + name = "About" + url = "/about" + [[languages.de.menu.main]] + identifier = "impressum" + name = "Impressum" + url = "/impressum" + [[languages.de.menu.main]] + identifier = "nutzungsbedingungen" + name = "Nutzungsbedingungen" + url = "/nutzungsbedingungen" + [[languages.de.menu.main]] + identifier = "datenschutz" + name = "Datenschutz" + url = "/datenschutz" + diff --git a/themes/papercss-hugo-theme b/themes/papercss-hugo-theme deleted file mode 160000 index e1d923b..0000000 --- a/themes/papercss-hugo-theme +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e1d923b860693e59638797c8d4639252b51d9cbb diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..aaaadaf --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit aaaadafec9b6a754cb014e0436d5565d2c3c0fea