feat: add Atom feed

This commit is contained in:
Ungol 2025-12-23 23:13:07 +01:00
parent f997e5d16e
commit 97c261ac29
3 changed files with 15 additions and 0 deletions

View file

@ -4,6 +4,8 @@ build_search_index = true
default_language = 'fr'
title = "Ungol"
generate_feeds = true
[markdown]
highlight_code = true
highlight_theme = "css"

View file

@ -8,6 +8,10 @@
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
{% block rss %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path='atom.xml', trailing_slash=false) }}">
{% endblock %}
<title>Ungol Blog</title>
</head>

View file

@ -16,6 +16,15 @@
<li>
<a href="{{ get_url(path='@/a-propos.md') }}">À propos</a>
</li>
<li class="menu-icons-container">
<ul class="menu-icons-group">
<li>
<div role="button" class="rss-feed-button menu-icon">
<span><a href="{{ get_url(path='atom.xml') }}""></a></span>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>