add rss link
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-04-26 17:42:17 +02:00
parent 61b94eb43e
commit 14da5b8bd5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 29 additions and 1 deletions

View file

@ -46,6 +46,7 @@ h1 {
color: var(--font-color); color: var(--font-color);
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.3cap; letter-spacing: 0.3cap;
margin-bottom: 0;
} }
h2, h2,
@ -79,7 +80,6 @@ a:hover {
.timeline { .timeline {
box-sizing: border-box; box-sizing: border-box;
width: 800px;
color: var(--font-color); color: var(--font-color);
padding: 30px 20px; padding: 30px 20px;
display: flex; display: flex;
@ -151,6 +151,31 @@ a:hover {
box-shadow: 0px 0px 10px 2px var(--point-hover); box-shadow: 0px 0px 10px 2px var(--point-hover);
} }
nav {
display: flex;
justify-content: center;
}
#rss {
text-transform: lowercase;
color: var(--font-color);
text-decoration: none;
}
hr {
border: 0;
margin: 0;
height: 1px;
background: var(--line);
margin: 2rem auto;
width: 20%;
}
#rss:hover {
color: var(--title-color);
text-decoration: underline;
}
@media only screen and (max-width: 300px) { @media only screen and (max-width: 300px) {
.timeline { .timeline {
padding: 30px 5px 30px 10px; padding: 30px 5px 30px 10px;

View file

@ -8,6 +8,9 @@
{{#data}} {{#data}}
<h1>Blog</h1> <h1>Blog</h1>
<nav><a id="rss" href="/blog/rss">RSS</a></nav>
<hr />
{{#no_posts}} {{#no_posts}}
<h2 class="subtitle">Aucun posts</h2> <h2 class="subtitle">Aucun posts</h2>
{{/no_posts}} {{^no_posts}} {{/no_posts}} {{^no_posts}}