feat: add series

This commit is contained in:
2023-08-07 14:44:04 +02:00
parent 990db3ae50
commit 7390d35a98
16 changed files with 275 additions and 23 deletions

View File

@@ -7,6 +7,7 @@ import { YoutubePlayer } from "@components/Youtube.tsx";
import { HashTags } from "@components/HashTags.tsx";
import { isYoutubeLink } from "@lib/string.ts";
import { renderMarkdown } from "@lib/documents.ts";
import { RedirectSearchHandler } from "@islands/Search.tsx";
export const handler: Handlers<Article | null> = {
async GET(_, ctx) {
@@ -28,6 +29,8 @@ export default function Greet(props: PageProps<Article>) {
title={`Article > ${article.name}`}
context={article}
>
<RedirectSearchHandler />
<KMenu type="main" context={{ type: "article" }} />
<RecipeHero
data={article}
subline={[author, date.toString()]}