merge: branch 'main' into styling/dark-mode

This commit is contained in:
Leni Aniva 2024-10-11 15:01:07 -07:00
commit cf84bd324f
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
6 changed files with 6 additions and 2 deletions

3
src/params/extra.ts Normal file
View File

@ -0,0 +1,3 @@
export function match(param: string) {
return param !== 'rss.xml';
}

View File

@ -125,6 +125,7 @@
#navbar { #navbar {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center;
} }
.floater-elem { .floater-elem {
margin-left: auto; margin-left: auto;

View File

@ -21,7 +21,7 @@
href={item.route}>{item.name}</a> href={item.route}>{item.name}</a>
{/each} {/each}
<div><ThemeSwitch /></div> <div><ThemeSwitch /></div>
<a class="icon" href="/rss.xml"><Rss /></a> <a class="nav-link icon" href="/rss.xml"><Rss /></a>
</div> </div>
<style> <style>

View File

@ -2,6 +2,6 @@ import type { PageLoad } from './$types';
import { getTags } from '$lib/posts'; import { getTags } from '$lib/posts';
export const load: PageLoad = async (_) => { export const load: PageLoad = async (_) => {
let allTags = await getTags(); const allTags = await getTags();
return { allTags }; return { allTags };
}; };