basic rss support

This commit is contained in:
zoe 2022-04-16 18:44:46 +02:00
parent 3d406997cb
commit 876124a845
3 changed files with 15 additions and 1 deletions

View File

@ -209,6 +209,19 @@ h6 {
} }
} }
h1 {
& #rss-title {
background-color: transparent;
color: $dark-bg;
&:hover {
background-color: transparent;
}
&.light {
color: $light-bg;
}
}
}
header.light { header.light {
background-color: $light-bg; background-color: $light-bg;
} }

View File

@ -30,6 +30,7 @@ h1{
font-size: $huge; font-size: $huge;
} }
h1 a,
h2 a{ h2 a{
font-size: $huge; font-size: $huge;
font-style:bold; font-style:bold;

View File

@ -2,7 +2,7 @@
<main> <main>
<article class="colorswitch"> <article class="colorswitch">
<header> <header>
<h1 id="title">{{.Title}}</h1> <h1 id="title"><a href="./index.xml" class="colorswitch with-rss" id="rss-title">{{.Title}}</a></h1>
</header> </header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md --> <!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}} {{.Content}}