Link to Git repository in header
This commit is contained in:
parent
030045935b
commit
0f4f6eee19
@ -21,3 +21,4 @@ nav = [
|
||||
{title = "All posts", path = "/posts/"}
|
||||
]
|
||||
latest_posts_count = 3
|
||||
repository_url = "https://git.microlab.space/em/em.0x45.cz"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user