disclaimer

This commit is contained in:
nelle 2024-06-29 01:40:11 -06:00
parent 7329cca2d3
commit 78f5fd64f9

View file

@ -8,6 +8,7 @@ import Layout from "../../layouts/Layout.astro";
import { SITE_TITLE, SITE_DESCRIPTION } from "../../consts"; import { SITE_TITLE, SITE_DESCRIPTION } from "../../consts";
import { getCollection } from "astro:content"; import { getCollection } from "astro:content";
import FormattedDate from "../../components/FormattedDate.astro"; import FormattedDate from "../../components/FormattedDate.astro";
import type { setErrorMap } from "astro/zod";
const posts = (await getCollection("blog")).sort( const posts = (await getCollection("blog")).sort(
(a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf()
@ -21,6 +22,8 @@ const posts = (await getCollection("blog")).sort(
<center> <center>
<h1 class="title">The Blog Posts</h1> <h1 class="title">The Blog Posts</h1>
<h2 class="subtitle">This is where I post things and stuff, eventually...</h2> <h2 class="subtitle">This is where I post things and stuff, eventually...</h2>
<h3>This list is in chronological order oldest first, newest last</h3>
<h4>I think I may add a button that shows latest post at the top under rss, we'll see.</h4>
</center> </center>
<hr> <hr>
<ul role="list" class="link-card-grid"> <ul role="list" class="link-card-grid">