use hugo-coder theme

This commit is contained in:
Christoph Cullmann 2019-04-06 22:24:29 +02:00
parent f4239fb581
commit 9464c61bf2
2 changed files with 59 additions and 29 deletions

View file

@ -1,51 +1,78 @@
# our homepage url # our homepage url
baseURL = "https://cullmann.io/" baseURL = "https://cullmann.io/"
# default content is in english
languageCode = "en-us"
defaultContentLanguage = "en"
# cullmann.io website # cullmann.io website
title = "cullmann.io" title = "cullmann.io"
# use hermit theme # theme
theme = "hermit" theme = "hugo-coder"
# some settings # content == english, Impressum is german
languagecode = "en"
defaultcontentlanguage = "en"
# pagination
paginate = 20
# allow git
enableGitInfo = true enableGitInfo = true
pygmentsCodefences = true # nice urls
pygmentsUseClasses = true canonifyurls = true
enableEmoji = true
[author] # pygment settings
name = "Christoph Cullmann" pygmentsstyle = "b2"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
[params] [params]
# different date formats to use author = "Christoph Cullmann"
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04 -0700"
# our color description = "Christoph Cullmann's personal website"
themeColor = "#494f5c"
# this is my homepage keywords = "blog,developer,personal"
homeSubtitle = "Private homepage of Christoph Cullmann"
# Toggling this option needs to rebuild SCSS, requires Hugo extended version info = "Software Engineer"
justifyContent = false # Set "text-align: justify" to `.content`. avatarurl = "images/avatar.jpg"
[[params.social]]
name = "github" #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
# Use inverted colors
inverted = true
# Series see also post count
maxSeeAlsoItems = 5
# Custom CSS
custom_css = []
[[params.social]]
name = "Github"
icon = "fab fa-github"
weight = 1
url = "https://github.com/christoph-cullmann/" url = "https://github.com/christoph-cullmann/"
[[params.social]] [[params.social]]
name = "twitter" name = "Twitter"
icon = "fab fa-twitter"
weight = 2
url = "https://twitter.com/ChrCullmann/" url = "https://twitter.com/ChrCullmann/"
[[params.social]] [[params.social]]
name = "youtube" name = "YouTube"
icon = "fab fa-youtube"
weight = 3
url = "https://www.youtube.com/channel/UChxsQT-6tVSbEmfiPqMM1Jg" url = "https://www.youtube.com/channel/UChxsQT-6tVSbEmfiPqMM1Jg"
[menu] [menu]

View file

@ -9,6 +9,9 @@ git submodule update --recursive --remote
git pull git pull
# rerun hugo generator # 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 ./hugo
# current date # current date