feat: fix some shit
This commit is contained in:
@ -23,14 +23,17 @@ export default function Greet(props: PageProps<Article>) {
|
||||
const content = renderMarkdown(article.content);
|
||||
|
||||
return (
|
||||
<MainLayout url={props.url} title={`Article > ${article.name}`}>
|
||||
<MainLayout
|
||||
url={props.url}
|
||||
title={`Article > ${article.name}`}
|
||||
context={article}
|
||||
>
|
||||
<RecipeHero
|
||||
data={article}
|
||||
subline={[author, date.toString()]}
|
||||
editLink={`https://notes.max-richter.dev/Media/articles/${article.id}`}
|
||||
backlink="/articles"
|
||||
/>
|
||||
<KMenu type="main" context={article} />
|
||||
{article.tags.length > 0 && (
|
||||
<>
|
||||
<br />
|
||||
|
@ -27,8 +27,6 @@ export default function Greet(props: PageProps<Article[] | null>) {
|
||||
|
||||
<h3 class="text-2xl text-white font-light">📝 Articles</h3>
|
||||
</header>
|
||||
|
||||
<KMenu type="main" context={false} />
|
||||
<Grid>
|
||||
{props.data?.map((doc) => {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user