feat: rework metadata loading to use site-specific config file

This commit is contained in:
David Bailey 2024-01-11 16:53:37 +01:00
parent c202b778e0
commit 2ea575f229
3 changed files with 21 additions and 16 deletions

View file

@ -3,8 +3,10 @@
{% extends "root.html" %}
{% block feed_links %}
<link rel="alternate" type="application/rss+xml" title="DergSite Global Feed" href="https://lucidragons.de/feed">
<link rel="alternate" type="application/atom+xml" title="DergSite Feed for {{post.post_path}}" href="https://lucidragons.de/feed/atom{{post.post_path}}">
{{ parent() }}
<link rel="alternate" type="application/atom+xml" title="{{og.site_name}} Feed for {{post.post_path}}" href="{{site_config.uri_prefix}}/feed/atom{{post.post_path}}">
{% endblock %}
{% block second_title %}