Skip to content

Commit 96e0a60

Browse files
committed
fmt/nit
1 parent 5c62912 commit 96e0a60

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ yarn-error.log
1212
# Next build files
1313
.next
1414
public/build
15-
# Blog RSS feed
16-
public/blog/rss.xml
1715
out
1816

17+
# Other generated files
18+
public/blog/rss.xml
19+
1920
# macOS files
2021
.DS_Store
2122

src/lib/rss.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from "path";
33
import RSS from "rss";
44
import { 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";
99
const BLOG_URL = `${SITE_URL}/about/blog`;

src/pages/about/blog/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export default function BlogIndex({ posts }: BlogIndexProps) {
8383
export const getStaticProps: GetStaticProps<BlogIndexProps> = async () => {
8484
const posts = await getAllPosts();
8585

86-
// Generate RSS feed during build
8786
await generateRssFeed(posts);
8887

8988
return {

0 commit comments

Comments
 (0)