new post and remove console logs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user