@ -1,7 +1,6 @@
import Link from "next/link";
const BlogList = ({ posts }) => {
console.log(posts);
const blogElements = posts
.sort((a, b) => a.frontmatter.date < b.frontmatter.date)
.map((post) => (
@ -7,7 +7,6 @@ import { useRouter } from "next/router";
export default function BlogTemplate(props) {
const router = useRouter();
const { post } = router.query;
console.log(props.paths);
// Render data from `getStaticProps`
return (
<Layout siteTitle={props.siteTitle}>