diff --git a/_headers b/_headers index d870296..586089b 100644 --- a/_headers +++ b/_headers @@ -1,46 +1,39 @@ -/feeds/album-releases - Content-Type: application/xml; charset=utf-8 - x-content-type-options: nosniff - -/feeds/album-releases.json - Content-Type: application/json - -/feeds/all +/feeds/all.xml Content-Type: application/xml; charset=utf-8 x-content-type-options: nosniff /feeds/all.json Content-Type: application/json -/feeds/books +/feeds/books.xml Content-Type: application/xml; charset=utf-8 x-content-type-options: nosniff /feeds/books.json Content-Type: application/json -/feeds/links +/feeds/links.xml Content-Type: application/xml; charset=utf-8 x-content-type-options: nosniff /feeds/links.json Content-Type: application/json -/feeds/posts +/feeds/posts.xml Content-Type: application/xml; charset=utf-8 x-content-type-options: nosniff /feeds/posts.json Content-Type: application/json -/feeds/movies +/feeds/movies.xml Content-Type: application/xml; charset=utf-8 x-content-type-options: nosniff /feeds/movies.json Content-Type: application/json -/feeds/syndication +/feeds/syndication.xml Content-Type: application/xml; charset=utf-8 x-content-type-options: nosniff diff --git a/public/feeds/feed.xsl b/public/feeds/feed.xsl new file mode 100644 index 0000000..f56741f --- /dev/null +++ b/public/feeds/feed.xsl @@ -0,0 +1,74 @@ + + + + + + + + <xsl:value-of select="/rss/channel/title" /> + + + + + + + +
+
+
+

+ Cory Dransfeldt +

+
+
+

+ +
+ + + +
+
+
+ +
+ + +
+
\ No newline at end of file diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 0f9bfd4..b467210 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,8 +1,9 @@ --- import NavLink from '@components/nav/NavLink.astro'; +import { fetchGlobalData } from '@utils/data/global/index.js'; const { updated } = Astro.props; -const { nav } = Astro.locals; +const { nav } = await fetchGlobalData(Astro); ---