--- import { Picture } from "@astrojs/image/components"; import { Icon } from "astro-icon"; import { createDateFormatter } from "@root/utils"; // import { isURL } from "@utils/string"; import ArticleComments from "@components/ArticleComments.astro"; // import TranslatedLink from "../TranslatedLink"; import type { CollectionEntry } from "astro:content"; // import { useTranslation } from "@root/i18n/utils"; import "./ArticlePost.scss"; export type Props = { article: CollectionEntry<"blog">; lang: string; }; const { article, lang } = Astro.props as Props; const canonicalUrl = new URL(Astro.url.pathname, Astro.site); const { data: { coverImage, title, author, description, tags, pubDate }, slug, } = article; // const t = useTranslation(Astro); ---
{ tags && ( ) }
--- {"просмотров"}

{title}

{ coverImage && (
) }

{description}