File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ yarn-error.log
1212# Next build files
1313.next
1414public /build
15- # Blog RSS feed
16- public /blog /rss.xml
1715out
1816
17+ # Other generated files
18+ public /blog /rss.xml
19+
1920# macOS files
2021.DS_Store
2122
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import path from "path";
33import RSS from "rss" ;
44import { BlogPostWithSlug } from "./blog" ;
55
6- const SITE_URL = process . env . VERCEL_PROJECT_PRODUCTION_URL
6+ const SITE_URL = process . env . VERCEL_PROJECT_PRODUCTION_URL
77 ? `https://${ process . env . VERCEL_PROJECT_PRODUCTION_URL } `
88 : "https://www.prairielearn.com" ;
99const BLOG_URL = `${ SITE_URL } /about/blog` ;
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ export default function BlogIndex({ posts }: BlogIndexProps) {
8383export const getStaticProps : GetStaticProps < BlogIndexProps > = async ( ) => {
8484 const posts = await getAllPosts ( ) ;
8585
86- // Generate RSS feed during build
8786 await generateRssFeed ( posts ) ;
8887
8988 return {
You can’t perform that action at this time.
0 commit comments