Merge pull request 'fix: RSS Styling and Trailing Slash Problems' (#16) from post/rss into main

Reviewed-on: #16
This commit is contained in:
Leni Aniva 2024-10-11 15:00:31 -07:00
commit 8b2a141a05
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 { #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

@ -19,7 +19,7 @@
class:disabled-link={item.disabled} class:disabled-link={item.disabled}
href={item.route}>{item.name}</a> href={item.route}>{item.name}</a>
{/each} {/each}
<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 };
}; };