summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml85
-rwxr-xr-xupdate.sh3
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]
diff --git a/update.sh b/update.sh
index 655f559..881c316 100755
--- a/update.sh
+++ b/update.sh
@@ -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