25 lines
513 B
Text
25 lines
513 B
Text
---
|
|
description: mehbark's website for anything
|
|
tags: special
|
|
---
|
|
|
|
export function PostLink({post}) {
|
|
const tags = post.data.tags.filter(t => t != "post");
|
|
return <>
|
|
<a href={post.url}>
|
|
{post.data.title}
|
|
</a>
|
|
{" "}
|
|
({tags.join(", ")})
|
|
{" "}
|
|
(<time datetime={post.date.toISOString()}>{post.date.toDateString()}</time>)
|
|
</>
|
|
}
|
|
|
|
## Posts
|
|
<ul>
|
|
{props.collections.post.toReversed().map(p =>
|
|
<li key={p.url}><PostLink post={p} /></li>
|
|
)}
|
|
</ul>
|