navigation: add a RSS link

Co-Authored-by: Igor Milhit <igor@milhit.ch>
pull/31/head
iGor milhit 2020-01-17 17:29:06 +01:00
parent c44eb759f0
commit 84a2435161
Signed by: igor
GPG Key ID: 692D97C3D0228A99
2 changed files with 9 additions and 1 deletions

View File

@ -9,10 +9,11 @@ html, body {
}
code,
figure p,
.footnotes,
.footnote-ref,
figure p,
.main-footer,
nav,
.posts-list footer {
font-size: $font-size-small;
}

View File

@ -8,6 +8,13 @@
<nav>
<a href="{{ .Site.BaseURL }}blog">Blog</a> /
<a href="{{ .Site.BaseURL }}categories">Catégories</a>
{{ if .IsNode }}
/ <a href="{{ .Permalink }}index.xml"><span class="smallcaps">rss</a>
{{ end }}
{{ if .IsPage }}
/ <a href="{{ .Site.BaseURL }}index.xml"><span class="smallcaps">rss</a>
{{ end }}
</nav>
</section>
</header>