diff --git a/config.toml b/config.toml
index 240f7a6..9cbbd3d 100755
--- a/config.toml
+++ b/config.toml
@@ -1,7 +1,7 @@
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
@@ -17,8 +17,8 @@ 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"
diff --git a/content/blog/test.md b/content/blog/test.md
new file mode 100755
index 0000000..a82f308
--- /dev/null
+++ b/content/blog/test.md
@@ -0,0 +1,25 @@
++++
+title = "TEST ARTICLE"
+description = ""
+tags = [
+ "test"
+]
+date = "2018-04-02"
+categories = [
+ "Development",
+]
+highlight = "true"
+draft = false
+headerimage = "placeholder.jpg"
+headercredits = "Unsplash, [Dlanor S](https://unsplash.com/photos/2xEQDxB0ss4)"
++++
+
+LOREM IPSUM Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for
+its template engine. It is an extremely lightweight engine that provides a very
+small amount of logic. In our experience that it is just the right amount of
+logic to be able to create a good static website. If you have used other
+template systems from different languages or frameworks you will find a lot of
+similarities in go templates.
+
+This document is a brief primer on using go templates. The [go docs][gohtmltemplate]
+provide more details.
diff --git a/themes/hugo-mastodon-comments/.gitignore b/themes/hugo-mastodon-comments/.gitignore
new file mode 100644
index 0000000..0ed663d
--- /dev/null
+++ b/themes/hugo-mastodon-comments/.gitignore
@@ -0,0 +1 @@
+static/comments/config.php
diff --git a/themes/hugo-mastodon-comments/layouts/partials/comments.html b/themes/hugo-mastodon-comments/layouts/partials/comments.html
new file mode 100644
index 0000000..8d2ad9f
--- /dev/null
+++ b/themes/hugo-mastodon-comments/layouts/partials/comments.html
@@ -0,0 +1,14 @@
+
Subscribe to my Blog via Diaspora, Mastodon, Friendica or GNU Social. Never miss a article! Reshare, like and discuss it!
{{ end }}
- All
+ All
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
{{ humanize $name }}
diff --git a/themes/hugo-sustain/layouts/_default/single.html b/themes/hugo-sustain/layouts/_default/single.html
index 155ee9a..bf3be93 100644
--- a/themes/hugo-sustain/layouts/_default/single.html
+++ b/themes/hugo-sustain/layouts/_default/single.html
@@ -52,6 +52,7 @@
+ {{ partial "comments.html" . }}
{{ partial "social" . }}
Comments
+