move posts to main pages folder

This commit is contained in:
LBlend committed 2021-08-22 11:32:35 +02:00
1 parent 22d9ee4498
commit 8fdba67b87
5 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ const path = require("path")
module.exports.createPages = async ({ graphql, actions }) => {
const { createPage } = actions
const blogTemplate = path.resolve("./src/components/pages/blogPost.js")
const eventTemplate = path.resolve("./src/components/pages/event.js")
const blogTemplate = path.resolve("./src/pages/blogPost.js")
const eventTemplate = path.resolve("./src/pages/event.js")
const result = await graphql(`
query {
allSanityPost {
@@ -4,9 +4,9 @@ import * as styles from "./blogPost.module.css"
import { graphql } from "gatsby"
import { GatsbyImage } from "gatsby-plugin-image"
import Seo from "../seo"
import Seo from "../components/seo"
import BlockContent from "@sanity/block-content-to-react"
import Back from "../items/back"
import Back from "../components/items/back"
export const query = graphql`
query($id: String!) {
File renamed without changes.
@@ -4,8 +4,8 @@ import * as styles from "./event.module.css"
import { graphql } from "gatsby"
import moment from "moment-timezone"
import Seo from "../seo"
import Back from "../items/back"
import Seo from "../components/seo"
import Back from "../components/items/back"
import { FaMapMarkerAlt, FaCalendarAlt } from "react-icons/fa"
export const query = graphql`
File renamed without changes.