2023-07-06 12:26:38 +02:00
|
|
|
---
|
|
|
|
import "../Styles/index.css"
|
2023-10-14 14:49:24 +02:00
|
|
|
import "../Styles/blogPage.css"
|
2023-07-06 12:26:38 +02:00
|
|
|
import SubPagesRow from "../Components/SubPagesRow.astro"
|
2023-10-14 14:49:24 +02:00
|
|
|
import BlogPost from "../Components/BlogPost.astro";
|
|
|
|
|
|
|
|
const posts = await Astro.glob('./posts/*.md')
|
2023-07-06 12:26:38 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
|
|
<meta name="viewport" content="width=device-width" />
|
|
|
|
<meta name="generator" content={Astro.generator} />
|
|
|
|
<title>Cakey's home directory</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="content">
|
2024-03-24 15:27:45 +01:00
|
|
|
<h1>/home/<strong>alecake</strong></h1>
|
2023-07-06 12:26:38 +02:00
|
|
|
<div class="commandline">
|
|
|
|
<p> > ls ~/subpages/</p>
|
|
|
|
</div>
|
|
|
|
<SubPagesRow/>
|
2023-10-14 14:49:24 +02:00
|
|
|
<div class="commandline">
|
|
|
|
<p>> ls ~/blogposts/</p>
|
|
|
|
</div>
|
|
|
|
<div id="bloglist">
|
|
|
|
{posts.map(post => (
|
|
|
|
<BlogPost
|
|
|
|
title={post.frontmatter.title}
|
|
|
|
url={post.url}
|
|
|
|
date={post.frontmatter.date}
|
|
|
|
description={post.frontmatter.description}
|
|
|
|
></BlogPost>
|
|
|
|
)
|
|
|
|
)}
|
|
|
|
</div>
|
2023-07-06 12:26:38 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
2024-03-24 15:27:45 +01:00
|
|
|
</html>
|