Merge pull request 'improve fediverse integration' (#5) from new-mastodon into master
All checks were successful
/ build (push) Successful in 24s
/ reuse-compliance (push) Successful in 11s

Reviewed-on: #5
This commit is contained in:
NcamGnrvngu 2025-06-14 17:53:38 +02:00
commit c79918f357
3 changed files with 10 additions and 1 deletions

View file

@ -26,5 +26,7 @@ highlight_theme = "Catpuccin Mocha"
[extra]
# Put all your custom variables here
mastodon_url = "https://mstdn.social/@Ncamgnrvngu"
mastodon_url = "https://nerdculture.de/@NcamGnrvngu"
mastodon_user = "@NcamGnrvngu@nerdculture.de"
matrix_user = "@ncamgnrvngu:matrix.org"
bookwyrm_url = "https://bookrastinating.com/user/NcamGnrvngu"

View file

@ -36,6 +36,9 @@
{% if config.extra.matrix_user %}
<a href="https://matrix.to/#/{{ config.extra.matrix_user }}">Matrix</a>
{% endif %}
{% if config.extra.bookwyrm_url %}
<a href="{{ config.extra.bookwyrm_url }}">Bookwyrm</a>
{% endif %}
<p id="license">
Except where otherwise noted, the content on this site is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>
</p>

View file

@ -13,4 +13,8 @@
<div id="page_content">
{{ page.content | safe }}
</div>
{% if config.extra.mastodon_user %}
<meta name="fediverse:creator" content="{{ config.extra.mastodon_user}}">
{% endif %}
{% endblock content %}