aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-30 15:00:57 +0200
committerlonkaars <l.leblansch@gmail.com>2021-03-30 15:00:57 +0200
commitb056a66af63d184e827c0f8ca6e81de2a1b19494 (patch)
tree1881f7814f1b581292ec8c12e39c6f41caa51f5a
parentf75e45311ff48d14aa28ae6899a13b26b751c005 (diff)
show heading for pinned articles
-rw-r--r--pages/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index be70ee6..116f2b4 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -37,6 +37,7 @@ export default function Home(props: {
{
props.posts.map((post, index) => {
return <>
+ { index != 0 && <h1>{post.props.meta.title}</h1> }
<RenderedArticle content={post.props.content}/>
{ index + 1 != props.posts.length && <Seperator/> }
</>