import React from "react"; import { Helmet } from "react-helmet"; import { useSiteMetadata } from "../../hooks"; import { Author } from "./Author"; import { Comments } from "./Comments"; import { Content } from "./Content"; import { Meta } from "./Meta"; import * as styles from "./Post.module.scss"; import { Tags } from "./Tags"; import type { Node } from "@/types"; interface Props { post: Node; } const Post: React.FC = ({ post }: Props) => { const { html } = post; const { tagSlugs, slug, readingTime } = post.fields; const { tags, title, date, disqusId, category } = post.frontmatter; const { url } = useSiteMetadata(); return ( <>
{tags && tagSlugs && }
); }; export default Post;