new post and remove console logs

This commit is contained in:
2023-06-04 15:35:30 -04:00
parent 1891a48471
commit acceb67d9a
4 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import Layout from '@layouts/Layout.astro'
import FormattedDate from '@components/FormattedDate.astro'
const { tag } = Astro.params
console.log(tag)
const posts = await getCollection('blog', ({ data }) => {
if (tag === 'all') {
return true
-1
View File
@@ -6,7 +6,6 @@ const parser = new MarkdownIt({ html: true })
export async function get(context) {
const blog = await getCollection('blog')
console.log(blog)
return rss({
title: 'ghall.blog',
description: