Add footer with RSS link

This commit is contained in:
Emi Matchu 2024-09-20 14:39:13 -07:00
parent ecad5ffd95
commit 02203c187f
3 changed files with 43 additions and 25 deletions

View file

@ -26,6 +26,10 @@
maybe other things later!
</p>
</header>
{{ content }}
<main>{{ content }}</main>
<footer>
Made with love by Matchu and the OpenNeo team!
<nav><a href="/feed.xml">Follow with an RSS reader</a></nav>
</footer>
</body>
</html>

View file

@ -2,8 +2,7 @@
layout: default
---
<main>
<article>
<article>
<header>
<h2>
<a href="{{ page.url }}">{{ page.title }}</a>
@ -21,5 +20,4 @@ layout: default
height="{{ page.banner.height}}"
/>
{% endif %} {{ content }}
</article>
</main>
</article>

View file

@ -44,9 +44,7 @@ body > header {
row-gap: 0.5em;
column-gap: 0.5em;
border-bottom: 1px solid #060;
padding-bottom: 0.75em;
margin-bottom: 0.75em;
.logo {
grid-area: logo;
@ -71,11 +69,29 @@ body > header {
[role="doc-subtitle"] {
grid-area: subtitle;
font-size: 0.75em;
font-size: 0.85em;
margin: 0;
}
}
main {
border-block: 1px solid #060;
padding-block: 0.75em;
}
body > footer {
font-size: 0.85em;
padding-block: 0.5em;
nav {
display: inline;
}
nav::before {
content: "• ";
}
}
article {
> header {
h2 {
@ -85,7 +101,7 @@ article {
}
p {
font-size: 0.75em;
font-size: 0.85em;
margin-top: 0;
}
}