From 8798e98cf0ebc3653366566ad6d114a021f5a757 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 30 Mar 2021 12:55:39 +0200 Subject: show tags from markdown file :tada: --- pages/post/[id].tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pages') diff --git a/pages/post/[id].tsx b/pages/post/[id].tsx index 38c894c..3144057 100644 --- a/pages/post/[id].tsx +++ b/pages/post/[id].tsx @@ -8,6 +8,7 @@ import Navbar from '../../components/navbar'; // import Button from '../../components/button'; import Image from '../../components/image'; import Chapters, { chapter } from '../../components/chapters'; +import Tags from '../../components/tag'; interface ArticleMeta { title?: string; @@ -42,6 +43,7 @@ export default function Post(props: {

{props.meta.title}

{props.meta.subtitle}

+ { props.meta.tags && }
-- cgit v1.2.3