Browse Source

Shift into home folder

main
Tay Yang Shun 7 years ago
parent
commit
65f1ced297
  1. 0
      content/home/examples/a-component-using-external-plugins.md
  2. 0
      content/home/examples/a-simple-component.md
  3. 0
      content/home/examples/a-stateful-component.md
  4. 0
      content/home/examples/an-application.md
  5. 0
      content/home/marketing/component-based.md
  6. 0
      content/home/marketing/declarative.md
  7. 0
      content/home/marketing/learn-once-write-anywhere.md
  8. 4
      src/pages/index.js

0
content/examples/a-component-using-external-plugins.md → content/home/examples/a-component-using-external-plugins.md

0
content/examples/a-simple-component.md → content/home/examples/a-simple-component.md

0
content/examples/a-stateful-component.md → content/home/examples/a-stateful-component.md

0
content/examples/an-application.md → content/home/examples/an-application.md

0
content/marketing/component-based.md → content/home/marketing/component-based.md

0
content/marketing/declarative.md → content/home/marketing/declarative.md

0
content/marketing/learn-once-write-anywhere.md → content/home/marketing/learn-once-write-anywhere.md

4
src/pages/index.js

@ -341,7 +341,7 @@ const CtaItem = ({children, primary = false}) => (
export const pageQuery = graphql` export const pageQuery = graphql`
query IndexMarkdown { query IndexMarkdown {
marketing: allMarkdownRemark( marketing: allMarkdownRemark(
filter: {id: {regex: "//marketing//"}} filter: {id: {regex: "//home/marketing//"}}
sort: {fields: [frontmatter___order], order: ASC} sort: {fields: [frontmatter___order], order: ASC}
) { ) {
edges { edges {
@ -354,7 +354,7 @@ export const pageQuery = graphql`
} }
} }
examples: allMarkdownRemark( examples: allMarkdownRemark(
filter: {id: {regex: "//examples//"}} filter: {id: {regex: "//home/examples//"}}
sort: {fields: [frontmatter___order], order: ASC} sort: {fields: [frontmatter___order], order: ASC}
) { ) {
edges { edges {

Loading…
Cancel
Save