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
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"
# some settings
# content == english, Impressum is german
languagecode = "en"
defaultcontentlanguage = "en"
# pagination
paginate = 20
# 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"
# our color
themeColor = "#494f5c"
description = "Christoph Cullmann's personal website"
# this is my homepage
homeSubtitle = "Private homepage of Christoph Cullmann"
keywords = "blog,developer,personal"
# Toggling this option needs to rebuild SCSS, requires Hugo extended version
justifyContent = false # Set "text-align: justify" to `.content`.
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
# Use inverted colors
inverted = true
# Series see also post count
maxSeeAlsoItems = 5
# Custom CSS
custom_css = []
[[params.social]]
name = "github"
name = "Github"
icon = "fab fa-github"
weight = 1
url = "https://github.com/christoph-cullmann/"
[[params.social]]
name = "twitter"
name = "Twitter"
icon = "fab fa-twitter"
weight = 2
url = "https://twitter.com/ChrCullmann/"
[[params.social]]
name = "youtube"
name = "YouTube"
icon = "fab fa-youtube"
weight = 3
url = "https://www.youtube.com/channel/UChxsQT-6tVSbEmfiPqMM1Jg"
[menu]

View file

@ -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