custom post header

This commit is contained in:
2022-09-10 11:25:05 +02:00
parent 5277f19ca6
commit 109e47353f
10 changed files with 212 additions and 42 deletions

View File

@@ -1,16 +1,11 @@
import type { Node } from "@/types";
import React from "react";
import { Link } from "gatsby";
import { Author } from "./Author";
import { Comments } from "./Comments";
import { Content } from "./Content";
import { Meta } from "./Meta";
import { Tags } from "./Tags";
import * as styles from "./Post.module.scss";
import type { Node } from "@/types";
import { Tags } from "./Tags";
interface Props {
post: Node;
@@ -23,10 +18,6 @@ const Post: React.FC<Props> = ({ post }: Props) => {
return (
<div className={styles.post}>
<Link className={styles.button} to="/">
All Articles
</Link>
<div className={styles.content}>
<Content body={html} title={title} />
</div>