site/src/pages/dataforge/index.js
2020-01-16 19:12:21 +03:00

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
}
}
}
`