Finally finish this enough to post

From here I will actually track changed with git but I just needed a base to work from.

RIP this attomic ass commit
This commit is contained in:
BuyMyMojo 2024-12-17 01:01:43 +11:00
parent 079e48c94e
commit 4bdb2ca436
Signed by: aria
GPG key ID: 19AB7AA462B8AB3B
48 changed files with 4693 additions and 657 deletions

View file

@ -0,0 +1,17 @@
---
import { getCollection, render } from 'astro:content';
import MarkdownPostLayout from '../../layouts/MarkdownPostLayout.astro';
export async function getStaticPaths() {
const posts = await getCollection('blog');
return posts.map(post => ({
params: { slug: post.id }, props: { post },
}));
}
const { post } = Astro.props;
const { Content } = await render(post);
---
<MarkdownPostLayout frontmatter={post.data}>
<Content />
</MarkdownPostLayout>

View file

@ -1,12 +0,0 @@
---
title: 'Getting started here'
pubDate: 2024-12-16
description: 'This is the first post of my new website.'
author: 'Aria'
tags: ["blogging", "learning in public"]
---
# Getting started here
Published on: 2024-12-16
I'll be expanding this as I work on it but for now this is my first more indepth website