mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 23:43:45 +02:00
manifest tweak
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
76aedcc516
commit
6ad1a1ae9b
@@ -1,13 +1,15 @@
|
||||
import React from "react";
|
||||
import { graphql } from "gatsby";
|
||||
import SEO from "../components/SEO";
|
||||
import Layout from "../components/Layout";
|
||||
|
||||
// @todo maybe find alternative type for data
|
||||
const LanguagePost = ({ data }: any) => {
|
||||
const { html } = data.file.post;
|
||||
const { html, frontmatter } = data.file.post;
|
||||
console.log(data)
|
||||
return (
|
||||
<Layout>
|
||||
<SEO title={frontmatter.title} />
|
||||
<div dangerouslySetInnerHTML={{ __html: html }} />
|
||||
</Layout >
|
||||
)
|
||||
@@ -21,8 +23,8 @@ export const query = graphql`
|
||||
post: childMarkdownRemark {
|
||||
html
|
||||
frontmatter {
|
||||
author
|
||||
date
|
||||
authors
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user