From 5ee07dcb4bb94bbd6795b549ad331445681340e5 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 1 Jul 2019 18:09:26 +0200 Subject: [PATCH] switch basic things - change git submodule - rm usless .gitkeep - rm old theme - change global config to get theme terminal to work --- .gitmodules | 6 +++--- config.toml | 22 +++++++++++++--------- themes/.gitkeep | 0 themes/nofancy | 1 - themes/terminal | 1 + 5 files changed, 17 insertions(+), 13 deletions(-) delete mode 100644 themes/.gitkeep delete mode 160000 themes/nofancy create mode 160000 themes/terminal diff --git a/.gitmodules b/.gitmodules index 88adc6a..778d1e4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/nofancy"] - path = themes/nofancy - url = https://github.com/gizak/nofancy +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal diff --git a/config.toml b/config.toml index 7efc122..b3d770a 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,7 @@ baseURL = "https://mh.obermui.de/" languageCode = "de-de" title = "MH Site" -theme = "nofancy" +theme = "terminal" #copyright = "CC-By-NC-4.0" @@ -11,11 +11,15 @@ theme = "nofancy" gitea = "https://git.altinsystems.d" [params] - # See themes/nofancy/static/highlight/styles for available options - # i.e. "default", "github", "monokai". - highlight="Assign a syntax highlight style" - - # Controls what items are listed in the top nav menu - # "none", or "categories" - # If you have too many categories to fit in the top nav menu, set this to "none" - topmenu="categories" + # dir name of your blog content (default is `content/posts`) + contentTypeName = "post" + # ["orange", "blue", "red", "green", "pink"] + themeColor = "orange" + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 4 + # set theme to full screen width + fullWidthTheme = false + # center theme with default width + centerTheme = true + # set a custom favicon (default is a `themeColor` square) + # favicon = "favicon.ico" diff --git a/themes/.gitkeep b/themes/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/themes/nofancy b/themes/nofancy deleted file mode 160000 index ae46702..0000000 --- a/themes/nofancy +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ae4670287c71f4c4aed91be9b3d3919846fd62c9 diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..016f54c --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit 016f54c162a41d3e21c8d68a2c7794d5c0f8e08c