Skip to content

Commit

Permalink
fixed issue manuelernestog#67
Browse files Browse the repository at this point in the history
  • Loading branch information
FZhg committed Mar 12, 2024
1 parent 9398dea commit 27d84e3
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 1 deletion.
141 changes: 141 additions & 0 deletions public/rss/styles.xsl

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/pages/rss.xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import rss from "@astrojs/rss";
import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
import { getCollection } from "astro:content";

export async function get(context) {
export async function GET(context) {
const blog = await getCollection("blog");
return rss({
stylesheet: "/rss/styles.xsl",
title: SITE_TITLE,
description: SITE_DESCRIPTION,
site: import.meta.env.SITE,
Expand Down

0 comments on commit 27d84e3

Please sign in to comment.