1
0

Link to Git repository in header

This commit is contained in:
Emil Miler 2021-12-15 15:58:33 +01:00
parent 030045935b
commit 0f4f6eee19
2 changed files with 4 additions and 1 deletions

View File

@ -21,3 +21,4 @@ nav = [
{title = "All posts", path = "/posts/"}
]
latest_posts_count = 3
repository_url = "https://git.microlab.space/em/em.0x45.cz"

View File

@ -13,7 +13,9 @@
<div class="wrap">
<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
<nav>
<a href="">Source</a>,
{% if config.extra.repository_url %}
<a href="{{ config.extra.repository_url }}">Source</a>,
{% endif %}
<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
</nav>
</div>