forestryio / gatsby-starter-forestry Goto Github PK
View Code? Open in Web Editor NEWA gatsby starter site pre-configured for Forestry
Home Page: https://forestryio.github.io/gatsby-starter-forestry/
License: MIT License
A gatsby starter site pre-configured for Forestry
Home Page: https://forestryio.github.io/gatsby-starter-forestry/
License: MIT License
works on forestry, but on my local development server 【windows 10】 it shows error as follow:
There was an error in your GraphQL query:
Field "image" must not have a selection since type "String" has no subfields.
This can happen if you e.g. accidentally added { } to the field "image". If you didn't expect "image" to be of type "String" make sure that your input source and/or plugin is correct.
File: /gatsby-starter-forestry-a/src/templates/blocks.js
Previewing on any page ends up dropping me onto the Homepage. Is there additional configuration necessary to make this work? I thought we figured out how to create preview URLs for Instant Previews?
Hi, I just imported the starter into forestry, then cloned my forked repo.
I haven't made any changes yet, although running the build
NPM script results in errors:
error Plugin gatsby-plugin-feed returned an error
Error: Cannot query field "siteUrl" on type "SiteSiteMetadata".
GraphQL request (7:11)
6: description
7: siteUrl
^
8: site_url: siteUrl
, Cannot query field "siteUrl" on type "SiteSiteMetadata".
GraphQL request (8:11)
7: siteUrl
8: site_url: siteUrl
^
9: }
- internals.js:22
[forestry-blog]/[gatsby-plugin-feed]/internals.js:22:13
Running the main develop
script builds fine and it successful spins up a local server that I can preview fine.
I've read through the repo README, although can't find anything that I'm doing wrong.
I believe there were some updates to the Preview Command UI that now recommend the correct build command out-of-the-box. In the starter-kit it is still hidden behind npm run forestry:preview
. The better solution is probably to add the instant preview command gatsby develop -p 8080 -H 0.0.0.0
the same way that Forestry recommends it for other users to avoid confusion about what "forestry:preview" is?
I propose to change in settings.yml:
preview_command: npm run forestry:preview
to
preview_command: gatsby develop -H 0.0.0.0 -p 8080
Missing something here but I created a new Forestry site based on this starter and am able to see all of the pages in the associated admin UI. However, when I try to edit one of the pages such as about-the-ssg the actual content is not visible. Also dont see how or where to edit the page slug from within admin.
I can make these edits within the filesystem but am curious/concerned on the gap with admin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.