chore: remove junk

This commit is contained in:
enscribe 2024-09-10 11:10:15 -07:00
parent 8f6872f739
commit 5d9940eddf
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
16 changed files with 15 additions and 118 deletions

View file

@ -7,7 +7,6 @@ import { readingTime } from '@lib/utils'
import BackToPrevious from '@components/BackToPrevious.astro'
import PostNavigation from '@components/PostNavigation.astro'
import TableOfContents from '@components/TableOfContents.astro'
import Giscus from '@components/Giscus.astro'
export async function getStaticPaths() {
const posts = (await getCollection('blog'))
@ -91,9 +90,6 @@ const { Content, headings } = await post.render()
<div class="mt-24">
<PostNavigation prevPost={prevPost} nextPost={nextPost} />
</div>
<div class="mt-24">
<Giscus />
</div>
</article>
</Container>
</Layout>

View file

@ -3,7 +3,6 @@ import { type CollectionEntry, getCollection } from 'astro:content'
import Layout from '@layouts/Layout.astro'
import Container from '@components/Container.astro'
import ArrowCard from '@components/ArrowCard.astro'
import { BLOG } from '@consts'
const data = (await getCollection('blog'))
.filter((post) => !post.data.draft)
@ -25,7 +24,7 @@ const posts = data.reduce((acc: Acc, post) => {
const years = Object.keys(posts).sort((a, b) => parseInt(b) - parseInt(a))
---
<Layout title={BLOG.TITLE} description={BLOG.DESCRIPTION}>
<Layout title="Blog" description="Blog">
<Container>
<aside data-pagefind-ignore>
<div class="space-y-10">