--- import Section from "../components/common/Section.astro"; import type { ArticleFrontmatter } from "../lib/types"; import { getShortDescription, processArticleDate, generateSourceUrl, } from "../lib/utils"; import { GLOBAL } from "../lib/variables"; import type { MarkdownLayoutProps } from "astro"; import Prose from "../components/Prose.astro"; import Layout from "./Layout.astro"; type Props = MarkdownLayoutProps; const { frontmatter } = Astro.props; const shortDescription = getShortDescription(frontmatter.description); const articleDate = processArticleDate(frontmatter.timestamp); const sourceUrl = generateSourceUrl(frontmatter.filename, "blog"); --- {frontmatter.title} • {GLOBAL.username}

{frontmatter.title}

{articleDate} {frontmatter.time} min
{frontmatter.tags?.map((tag) => ( {tag} ))}

~{GLOBAL.username}