Add RSS feed, add links for direct md editing on GitHub and update favicon

This commit is contained in:
thiloho
2025-04-26 22:48:37 +02:00
parent c06006d24b
commit 480ddd1e68
24 changed files with 484 additions and 23 deletions

View File

@@ -6,19 +6,20 @@ import Footer from "../components/Footer.astro";
interface Props {
title: string;
metaDescription: string;
description: string;
pubDate?: Date;
modDate?: Date;
slug?: string;
}
const { title, metaDescription, pubDate, modDate } = Astro.props;
const { title, description, pubDate, modDate, slug } = Astro.props;
---
<html lang="en" class="light">
<Head {title} {metaDescription} />
<Head {title} {description} />
<body class="min-h-screen flex flex-col">
<Nav />
<Header {title} {pubDate} {modDate} />
<Header {title} {pubDate} {modDate} {slug} />
<main class="flex-1 bg-white dark:bg-neutral-800">
<div
class={`relative prose prose-neutral dark:prose-invert mx-auto px-4 ${pubDate ? "pt-0" : "pt-8"} pb-16 prose-headings:scroll-mt-16 prose-h1:font-bold prose-pre:!bg-neutral-700 prose-a:text-blue-800 prose-a:dark:text-blue-300 prose-a:hover:no-underline`}