From 65a90e05460f811830439d458a69e5252d9b32ef Mon Sep 17 00:00:00 2001 From: Marco Ziesing Date: Sat, 17 Jul 2021 10:29:04 +0200 Subject: [PATCH] add theme "terminal" --- .gitmodules | 3 ++ config.toml | 82 +++++++++++++++++++++++++++++++++++++++++++++++-- themes/terminal | 1 + 3 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 themes/terminal diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a6851ba --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git diff --git a/config.toml b/config.toml index e4b7418..ea8c730 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,79 @@ -baseURL = "http://example.org/" -languageCode = "en-us" -title = "My New Hugo Site" +title = "#5251" +baseurl = "/" +languageCode = "en-gb" +theme = "terminal" +paginate = 5 + +[params] + # dir name of your main content (default is `content/posts`). + # the list of set content will show up on your index page (baseurl). + contentTypeName = "posts" + + # ["orange", "blue", "red", "green", "pink"] + themeColor = "blue" + + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 3 + + # show selector to switch language + showLanguageSelector = false + + # 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" + + # set post to show the last updated + # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated + showLastUpdated = false + # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author + # updatedDatePrefix = "Updated" + + # set all headings to their default size (depending on browser settings) + # it's set to `true` by default + oneHeadingSize = false + +[params.twitter] + # set Twitter handles for Twitter cards + # see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution + # do not include @ + creator = "" + site = "" + +[languages] + [languages.en] + languageName = "English" + title = "#5251" + subtitle = "My little toolbox" + owner = "Marco Ziesing" + keywords = "" + copyright = "" + menuMore = "Show more" + readMore = "Read more" + readOtherPosts = "Read other posts" + newerPosts = "Newer posts" + olderPosts = "Older posts" + missingContentMessage = "Page not found..." + missingBackButtonLabel = "Back to home page" + + [languages.en.params.logo] + logoText = "#5251" + logoHomeLink = "/" + +# [languages.en.menu] +# [[languages.en.menu.main]] +# identifier = "about" +# name = "About" +# url = "/about" +# [[languages.en.menu.main]] +# identifier = "showcase" +# name = "Showcase" +# url = "/showcase" +# [[languages.en.menu.main]] +# identifier = "toolbox" +# name = "Toolbox" +# url = "/toolbox" diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..ca1cc0c --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit ca1cc0c3915e054daeec3d14f0d6e4e354929b77