From 89e5dbf5ec97e8982a55a95ed85d3373e1f6bbf1 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 27 Apr 2025 00:01:26 +0200 Subject: [PATCH] Update RSS elements and TOC svg --- public/pretty-feed-v3.xsl | 141 ------------------------------------ src/pages/404.astro | 11 +++ src/pages/blog/[slug].astro | 11 ++- src/pages/blog/index.astro | 2 +- src/pages/contact.astro | 7 -- src/pages/rss.xml.js | 18 ++++- 6 files changed, 32 insertions(+), 158 deletions(-) delete mode 100644 public/pretty-feed-v3.xsl create mode 100644 src/pages/404.astro delete mode 100644 src/pages/contact.astro diff --git a/public/pretty-feed-v3.xsl b/public/pretty-feed-v3.xsl deleted file mode 100644 index 03ef2bb..0000000 --- a/public/pretty-feed-v3.xsl +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - <xsl:value-of select="/rss/channel/title"/> Web Feed - - - - - - -
-
-

- - - - - - - - - - - - - - - - - - - Web Feed Preview -

-

-

- - - - - Visit Website → - -
-

Recent Items

- -
-

- - - - - - -

- - Published: - -
-
-
- - -
-
diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..bc626bd --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,11 @@ +--- +import PageLayout from "../layouts/PageLayout.astro"; +--- + + +

+ The file associated with the requested path ({Astro.originPathname}) could not be found. +

+
diff --git a/src/pages/blog/[slug].astro b/src/pages/blog/[slug].astro index 993a80d..19100c7 100644 --- a/src/pages/blog/[slug].astro +++ b/src/pages/blog/[slug].astro @@ -30,18 +30,17 @@ const { Content, headings } = await render(article);
+ d="M10.75 16.82A7.462 7.462 0 0 1 15 15.5c.71 0 1.396.098 2.046.282A.75.75 0 0 0 18 15.06v-11a.75.75 0 0 0-.546-.721A9.006 9.006 0 0 0 15 3a8.963 8.963 0 0 0-4.25 1.065V16.82ZM9.25 4.065A8.963 8.963 0 0 0 5 3c-.85 0-1.673.118-2.454.339A.75.75 0 0 0 2 4.06v11a.75.75 0 0 0 .954.721A7.506 7.506 0 0 1 5 15.5c1.579 0 3.042.487 4.25 1.32V4.065Z" + >
{