Skip to content

Commit

Permalink
Fix Issue manuelernestog#67
Browse files Browse the repository at this point in the history
  • Loading branch information
FZhg authored Mar 12, 2024
1 parent 9398dea commit 8c876fd
Showing 1 changed file with 2 additions and 1 deletion.
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 8c876fd

Please sign in to comment.