feat: with mastodon

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-07-11 10:58:21 +02:00
parent b172be0276
commit 7aed882368
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 11 additions and 4 deletions

View File

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

View File

@ -6,7 +6,7 @@
<head>
<meta charset="utf-8">
<title>kasperhermansen</title>
<title>kasperhermansen | {% block title %}{% endblock title %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
@ -28,6 +28,8 @@
<meta name="twitter:image" content="https://blog.kasperhermansen.com/images/kjuulh.jpg">
<meta name="twitter:creator" content="@kjuulh">
<link rel="alternate" type="application/atom+xml" title="ATOM" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
{% block extra_head %}
{% endblock extra_head %}
</head>
@ -50,6 +52,7 @@
</a>
<a href="https://git.front.kjuulh.io/kjuulh" target="_blank" rel="noopener noreferrer"
class="text-gray-300 hover:text-gray-900 custom-icon h-6 w-6 gitea bg-cover"> </a>
<a rel="me" href="https://fosstodon.org/@kjuulh" class="text-gray-300 hover:text-gray-900" target="_blank"><i class="fa-brands fa-mastodon"></i></a>
</div>
</div>
</footer>

View File

@ -5,6 +5,10 @@
<link rel="canonical" href="{{ page.permalink }}">
{% endblock extra_head %}
{% block title %}
{{ page.title }}
{% endblock title %}
{% block content %}
<div class="mx-auto px-4 max-w-3xl py-8">
@ -19,7 +23,6 @@
<a href="https://github.com/kjuulh" target="_blank" rel="noopener noreferrer" class="text-peach hover:text-orange-400">
@kjuulh
</a>
<p class="subtitle"><strong>{{ page.date }}</strong></p>
{{ page.content | safe }}
</article>