feat: add Atom feed
This commit is contained in:
parent
f997e5d16e
commit
97c261ac29
3 changed files with 15 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ build_search_index = true
|
||||||
default_language = 'fr'
|
default_language = 'fr'
|
||||||
title = "Ungol"
|
title = "Ungol"
|
||||||
|
|
||||||
|
generate_feeds = true
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
highlight_theme = "css"
|
highlight_theme = "css"
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,10 @@
|
||||||
<link rel="stylesheet" href="/styles.css">
|
<link rel="stylesheet" href="/styles.css">
|
||||||
<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-dark.css" media="(prefers-color-scheme: dark)" />
|
||||||
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
|
<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>
|
<title>Ungol Blog</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,15 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ get_url(path='@/a-propos.md') }}">À propos</a>
|
<a href="{{ get_url(path='@/a-propos.md') }}">À propos</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue