From b838d4ac9cd9e99b4d051abe5260605e01ae68e0 Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Wed, 2 Jun 2021 06:50:49 +0200 Subject: [PATCH] Changed Theme --- .gitmodules | 6 ++--- config.toml | 43 ++++++++++++++++++++++++++++++++++-- content/posts/my-2nd-post.md | 27 ++++++++++++++++++++-- themes/hugo-dpsg | 1 + themes/hugo-html5up-alpha | 1 - 5 files changed, 70 insertions(+), 8 deletions(-) create mode 160000 themes/hugo-dpsg delete mode 160000 themes/hugo-html5up-alpha diff --git a/.gitmodules b/.gitmodules index 0552dd0..1d43285 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/hugo-html5up-alpha"] - path = themes/hugo-html5up-alpha - url = https://github.com/dewittn/hugo-html5up-alpha.git +[submodule "themes/hugo-dpsg"] + path = themes/hugo-dpsg + url = https://github.com/pfadfinder-konstanz/hugo-dpsg.git diff --git a/config.toml b/config.toml index 0c690d4..084a72c 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,43 @@ baseURL = "https://seuh.k8s.sqa.ddnss.org/seuh2022/" -languageCode = "en-us" +# languageCode = "en-us" title = "SEUH 2022 Conference" -theme = "hugo-html5up-alpha" +theme = "hugo-dpsg" +languageCode = "de" +DefaultContentLanguage = "de" +paginate = "10" # Number of posts per page + +[Params] + description = "Welcome to our scout group!" # Site description. Used in meta description + copyright = "DGSP local group" # Footer copyright holder, otherwise will use site title + opengraph = true # Enable OpenGraph if true + schema = true # Enable Schema + twitter_cards = true # Enable Twitter Cards if true + readmore = false # Show "Read more" button in list if true + authorbox = true # Show authorbox at bottom of pages if true + toc = true # Enable Table of Contents + pager = true # Show pager navigation (prev/next links) at the bottom of pages if true + indexPager = false # Show pager navigation on index page + post_meta = ["author", "date", "categories", "translations"] # Order of post meta information + mainSections = ["post", "blog", "news"] # Specify section pages to show on home page and the "Recent articles" widget + # photosSections = ["photos"] # Specify section pages to show on home page and the "Recent photos" widget + dateformat = "02.01.2006" # Change the format of dates + # customCSS = ["css/custom.css"] # Include custom CSS files + # customJS = ["js/custom.js"] # Include custom JS files + # customPartial = "piwik.html" # Include custom partials, e.g. tracking codes + +[Params.sidebar] + home = "right" # Configure layout for home page + list = "left" # Configure layout for list pages + single = false # Configure layout for single pages + # Enable widgets in given order + widgets = ["search", "recent", "recent_photos", "categories", "taglist", "social", "languages"] + # alternatively "ddg-search" can be used, to search via DuckDuckGo + # widgets = ["ddg-search", "recent", "categories", "taglist", "social", "languages"] + +[Params.footer] + text = "[Imprint and Privacy](/imprint)" # Extra text in footer row, understands markdown + +[Params.widgets] + recent_num = 5 # Set the number of articles in the "Recent articles" widget + tags_counter = false # Enable counter for each tag in "Tags" widget + diff --git a/content/posts/my-2nd-post.md b/content/posts/my-2nd-post.md index 9e3409a..434e845 100644 --- a/content/posts/my-2nd-post.md +++ b/content/posts/my-2nd-post.md @@ -1,6 +1,29 @@ --- -title: "My 2nd Post" -date: 2021-06-01T23:06:37+02:00 +# Common-Defined params +title: "Example article title" +date: "2017-08-21" +description: "Example article description" +categories: + - "Category 1" + - "Category 2" +tags: + - "Test" + - "Another test" +menu: main # Optional, add page to a menu. Options: main, side, footer + +# Theme-Defined params +thumbnail: "img/placeholder.jpg" # Thumbnail image +thumbnail_hide_post: false # Hide thumbnail on single post view +lead: "Example lead - highlighted near the title" # Lead text +authorbox: true # Enable authorbox for specific page +pager: true # Enable pager navigation (prev/next) for specific page +toc: true # Enable Table of Contents for specific page +sidebar: "right" # Enable sidebar (on the right side) per page +widgets: # Enable sidebar widgets in given order per page + - "search" + - "recent" + - "taglist" +sitemap_hide: false # Do not add this page to the sitemap --- In vino veritas diff --git a/themes/hugo-dpsg b/themes/hugo-dpsg new file mode 160000 index 0000000..6c632cb --- /dev/null +++ b/themes/hugo-dpsg @@ -0,0 +1 @@ +Subproject commit 6c632cb513f40104f68fff76bb0732083c3195fc diff --git a/themes/hugo-html5up-alpha b/themes/hugo-html5up-alpha deleted file mode 160000 index b921f3b..0000000 --- a/themes/hugo-html5up-alpha +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b921f3bccb74d51a010e3beff80c8a00b6de4418