diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-30 15:00:57 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-30 15:00:57 +0200 |
commit | b056a66af63d184e827c0f8ca6e81de2a1b19494 (patch) | |
tree | 1881f7814f1b581292ec8c12e39c6f41caa51f5a /pages/index.tsx | |
parent | f75e45311ff48d14aa28ae6899a13b26b751c005 (diff) |
show heading for pinned articles
Diffstat (limited to 'pages/index.tsx')
-rw-r--r-- | pages/index.tsx | 1 |
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/> } </> |