Add blog functionality (#1)

This commit was merged in pull request #1.
This commit is contained in:
2019-10-14 16:06:54 +02:00
committed by Max Mehl
parent 7ad089ec54
commit e678442198
56 changed files with 1461 additions and 52 deletions

View File

@@ -1,14 +1,14 @@
baseurl = "https://mehl.mx/"
languageCode = "en-GB"
title = "Max Mehl"
theme = [ "hugo-sustain", "hugo-cloak-email" ]
theme = [ "hugo-sustain", "hugo-cloak-email", "hugo-mastodon-comments" ]
[blackfriday]
# preserves linebreaks, and transforms to <br />
extensions = [ "hardLineBreak" ]
[permalinks]
post = "/:year/:month/:day/:slug"
blog = "/blog/:year/:slug"
[params]
avatar = "profile.jpg"
@@ -17,8 +17,11 @@ extensions = [ "hardLineBreak" ]
keywords = "manager, free software, open source, project, campaign, konstanz, berlin, munster, communication, IT service, computer, politics, administration, FSFE, scouts, founder"
# Custom assets can be linked with their paths relative to static/
custom_css = ['css/custom.css']
custom_js = []
custom_css = ['css/custom.css', 'comments/mastodon-comments.css']
custom_js = ['comments/getcomments.js']
[params.blog]
headline = "Thoughts about tech, politics, and more"
[params.social]
Github = "mxmehl"