gatsby-personal-starter-blog | Gatsby starter for a personal site & blog | Content Management System library
kandi X-RAY | gatsby-personal-starter-blog Summary
kandi X-RAY | gatsby-personal-starter-blog Summary
This is the search-enabled version of Gatsby Personal Starter Blog!.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gatsby-personal-starter-blog
gatsby-personal-starter-blog Key Features
gatsby-personal-starter-blog Examples and Code Snippets
Community Discussions
Trending Discussions on gatsby-personal-starter-blog
QUESTION
Have a gatsby blog to which I've added a cover image that is either an image (I want that to appear as a Gatsby Image) or mp4 (I want that to appear as html5 video).
The problem is, when I query this field (in my markdown posts, cover: x.mp4
or cover: x.jpg
), if it's an mp4 and it doesn't have a property of childImageSharp
(error: TypeError: Cannot read property 'fluid' of null
).
My query looks like this:
...ANSWER
Answered 2020-May-21 at 14:33Why you don't mix both methods?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gatsby-personal-starter-blog
Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the blog starter. # create a new Gatsby site using the blog starter gatsby new my-blog-starter https://github.com/thomaswang/gatsby-personal-starter-blog
Start developing. Navigate into your new site’s directory and start it up. cd my-blog-starter/ gatsby develop
Open the source code and start editing! Your site is now running at http://localhost:8000! Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial. Open the my-blog-starter directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page