27 lines
589 B
JavaScript
27 lines
589 B
JavaScript
import React from "react"
|
|
import {graphql} from "gatsby"
|
|
import Layout from "../../components/dataforge/layout"
|
|
|
|
const DataforgePage = ({ data }) => (
|
|
<Layout id="df">
|
|
{data.index.nodes.map(index=>{
|
|
return(<p
|
|
dangerouslySetInnerHTML = {{
|
|
__html: index.html,
|
|
}}
|
|
/>)
|
|
})}
|
|
</Layout>
|
|
)
|
|
|
|
export default DataforgePage
|
|
|
|
export const query = graphql`
|
|
query{
|
|
index: allMarkdownRemark (filter: {frontmatter: {content_type: {eq: "df-index"}}}){
|
|
nodes{
|
|
html
|
|
}
|
|
}
|
|
}
|
|
` |