From 7aed8823682d82fca62c2ffffdfc4f1671c82774 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 11 Jul 2023 10:58:21 +0200 Subject: [PATCH] feat: with mastodon Signed-off-by: kjuulh --- config.toml | 1 + templates/base.html | 5 ++++- templates/page.html | 9 ++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 800d0f7..dc41eaa 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,6 @@ # The URL the site will be built for base_url = "https://blog.kasperhermansen.com" +generate_feed = true [markdown] # Whether to do syntax highlighting diff --git a/templates/base.html b/templates/base.html index 7eb7ec6..155a6db 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,7 +6,7 @@ - kasperhermansen + kasperhermansen | {% block title %}{% endblock title %} @@ -28,6 +28,8 @@ + + {% block extra_head %} {% endblock extra_head %} @@ -50,6 +52,7 @@ + diff --git a/templates/page.html b/templates/page.html index 314c023..254a4fd 100644 --- a/templates/page.html +++ b/templates/page.html @@ -5,6 +5,10 @@ {% endblock extra_head %} +{% block title %} +{{ page.title }} +{% endblock title %} + {% block content %}
@@ -16,10 +20,9 @@

{{ page.title }}

- + @kjuulh - - +

{{ page.date }}

{{ page.content | safe }}