{this.props.post.frontmatter.title}
{this.props.post.frontmatter.author ? {this.props.post.frontmatter.author} • : null } {this.props.post.frontmatter.date}
{this.props.post.frontmatter.note ?: null}
// src/components/layout.js import React from "react" import SLink from "../components/SLink.js" import Zine from "../components/Zine.js" import { MDXRenderer } from "gatsby-plugin-mdx" import { MDXProvider } from '@mdx-js/react' import Layout from "../layouts/layout.js"; import {Link} from "gatsby"; // simple template for testing // export default function PageTemplate({ data: { mdx } }) { // return ( //
{this.props.post.frontmatter.author ? {this.props.post.frontmatter.author} • : null } {this.props.post.frontmatter.date}
{this.props.post.frontmatter.note ?: null}