fix merge

This commit is contained in:
2024-12-12 20:45:59 -05:00
6 changed files with 24 additions and 49 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
import rss from '@astrojs/rss';
import { getCollection } from 'astro:content';
import sanitizeHtml from 'sanitize-html';
import MarkdownIt from 'markdown-it';
const parser = new MarkdownIt({ html: true });
export async function get(context) {
export async function GET(context) {
const blog = await getCollection('blog');
return rss({
title: 'ghall.blog',
@@ -19,7 +18,7 @@ export async function get(context) {
pubDate: post.data.pubDate,
link: `/posts/${post.slug}`,
categories: post.data.tags,
content: sanitizeHtml(parser.render(post.body)),
content: parser.render(post.body),
})),
});
}
-25
View File
@@ -1,25 +0,0 @@
---
layout: ../layouts/Layout.astro
title: Uses
---
_Last updated: June 24, 2024_
## Laptop (MacOS)
- Web: [Arc]()
- Writing: [BBEdit]()
- Coding: [Nova]()
## Mobile (iOS/iPadOS)
- Web: [Arc Search]()
- Podcasts: [Overcast]()
## Cross-Platform
- Calendar: [Fantastical]()
- Notes: [Bear]()
- RSS/Read It Later: [Reeder]()
- Bookmarks: [Anybox]()
- Mastodon: [Ivory]()