diff options
author | Christoph Cullmann <cullmann@kde.org> | 2019-04-06 22:24:29 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2019-04-06 22:24:29 +0200 |
commit | 9464c61bf21cd0da51fc88b83735fb159ceb9940 (patch) | |
tree | da7dcfe12d1b578a589b098dbb5b20cadadd5894 | |
parent | f4239fb5819f5833d5b00f64103b2d510ba302fa (diff) |
use hugo-coder theme
-rw-r--r-- | config.toml | 85 | ||||
-rwxr-xr-x | update.sh | 3 |
2 files changed, 59 insertions, 29 deletions
diff --git a/config.toml b/config.toml index 2b2691b..dd4fc3a 100644 --- a/config.toml +++ b/config.toml @@ -1,51 +1,78 @@ # our homepage url baseURL = "https://cullmann.io/" -# default content is in english -languageCode = "en-us" -defaultContentLanguage = "en" - # cullmann.io website title = "cullmann.io" -# use hermit theme -theme = "hermit" +# theme +theme = "hugo-coder" + +# content == english, Impressum is german +languagecode = "en" +defaultcontentlanguage = "en" + +# pagination +paginate = 20 -# some settings +# allow git enableGitInfo = true -pygmentsCodefences = true -pygmentsUseClasses = true -enableEmoji = true +# nice urls +canonifyurls = true -[author] - name = "Christoph Cullmann" +# pygment settings +pygmentsstyle = "b2" +pygmentscodefences = true +pygmentscodefencesguesssyntax = true [params] - # different date formats to use - dateform = "Jan 2, 2006" - dateformShort = "Jan 2" - dateformNum = "2006-01-02" - dateformNumTime = "2006-01-02 15:04 -0700" + author = "Christoph Cullmann" + + description = "Christoph Cullmann's personal website" + + keywords = "blog,developer,personal" + + info = "Software Engineer" + avatarurl = "images/avatar.jpg" + + + #footercontent = "Enter a text here." + + dateformat = "January 2, 2006" + + hideCredits = true + hideCopyright = false + + # Git Commit in Footer, uncomment the line below to enable it. + commit = "https://github.com/christoph-cullmann/cullmann.io/tree/" + + # no right to left + rtl = false - # our color - themeColor = "#494f5c" + # Use inverted colors + inverted = true - # this is my homepage - homeSubtitle = "Private homepage of Christoph Cullmann" + # Series see also post count + maxSeeAlsoItems = 5 - # Toggling this option needs to rebuild SCSS, requires Hugo extended version - justifyContent = false # Set "text-align: justify" to `.content`. + # Custom CSS + custom_css = [] - [[params.social]] - name = "github" +[[params.social]] + name = "Github" + icon = "fab fa-github" + weight = 1 url = "https://github.com/christoph-cullmann/" - [[params.social]] - name = "twitter" +[[params.social]] + name = "Twitter" + icon = "fab fa-twitter" + weight = 2 url = "https://twitter.com/ChrCullmann/" - [[params.social]] - name = "youtube" +[[params.social]] + name = "YouTube" + icon = "fab fa-youtube" + weight = 3 url = "https://www.youtube.com/channel/UChxsQT-6tVSbEmfiPqMM1Jg" [menu] @@ -9,6 +9,9 @@ git submodule update --recursive --remote git pull # rerun hugo generator +# export the GIT env vars we need to have links in the footer +export GIT_COMMIT_SHA=`git rev-parse --verify HEAD` +export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD` ./hugo # current date |