Commit 25cde612 authored by Jonathan McGlone's avatar Jonathan McGlone
Browse files

FULCRUMOPS-170 - add histories of stem series page

parent 19819cd2
---
templateKey: historiesofstem-page
title: Histories of STEM
---
\ No newline at end of file
import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout'
import Title from '../components/title'
import {graphql} from 'gatsby'
const HistoriesofStem = ({data}) => {
const title = data.markdownRemark.frontmatter.title
const html = data.markdownRemark.html
return (
<Layout>
<SEO title={title} />
<div className="container page-container">
<Title title={title} />
<div dangerouslySetInnerHTML={{ __html: html }} />
</div>
</Layout>
)
}
export const query = graphql`
query historiesofstemPage($id: String!) {
markdownRemark(id: {eq: $id}) {
html
frontmatter{
title
}
}
}
`
export default HistoriesofStem
......@@ -132,6 +132,13 @@ collections:
- { name: templateKey, label: "Template Key", widget: hidden, default: reeditions-page }
- { name: title, label: Re-Editions }
- { name: body, label: Body, widget: markdown }
- file: "src/content/historiesofstem.md"
name: historiesofstem
label: Histories of STEM
fields:
- { name: templateKey, label: "Template Key", widget: hidden, default: historiesofstem-page }
- { name: title, label: Histories of STEM }
- { name: body, label: Body, widget: markdown }
- file: "src/content/peerreview.md"
name: peerReview
label: "Peer Review"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment