Přidání tlačítka pro RSS/Atom feed

pull/42/head
Emil Miler 3 years ago
parent ef68628668
commit 79606fd106

@ -503,8 +503,9 @@ main {
.button { .button {
border: 0; border: 0;
@include top-border($light-blue); @include top-border($light-blue);
display: inline-block; display: inline-flex;
padding: 1rem 4rem; align-items: center;
padding: 1rem 2rem;
margin-top: 2rem; margin-top: 2rem;
outline: none; outline: none;
background: none; background: none;
@ -517,6 +518,11 @@ main {
@include shadow; @include shadow;
text-decoration: none; text-decoration: none;
} }
&>i {
font-size: 1.4em;
margin-right: .5em;
}
} }
.centering { .centering {

@ -43,7 +43,8 @@
{{ macro::list_posts(section=section) }} {{ macro::list_posts(section=section) }}
</div> </div>
<div class="centering"> <div class="centering">
<a href="aktuality" class="button">Starší příspěvky</a> <a href="{{ get_url(path="@/aktuality/_index.md") }}" class="button"><i class="ri-archive-line"></i> Starší příspěvky</a>
<a href="{{ get_url(path="aktuality/atom.xml") }}" class="button"><i class="ri-rss-line"></i> RSS</a>
</div> </div>
</section> </section>
<section> <section>

Loading…
Cancel
Save