fix: RSS Styling and Trailing Slash Problems #16

Merged
aniva merged 3 commits from post/rss into main 2024-10-11 15:00:32 -07:00
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

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

View File

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

View File

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