Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gatsby starter for a blog with tags and authors, pulling content from Flotiq CMS.
Flotiq Blog is a Gatsby starter template for building a tag- and author-enabled blog website that pulls content from the Flotiq headless CMS and is configured for one-click deployment to Heroku or Netlify.
Flotiq Blog is an open-source Gatsby starter project created by the Flotiq team. It takes content stored in Flotiq—specifically three content types: flotiq_blog_tag, flotiq_blog_author, and flotiq_blog_post—and generates a static blog site with tag and author pages. The template runs on Gatsby, which means it is built with React and uses GraphQL for data queries; during development, a GraphiQL explorer is available at localhost:8000/___graphql. The repo includes the project description "Gatsby starter for the Flotiq Blog" and is published on GitHub.
flotiq start and import sample content with flotiq import, which adds 4 images, 1 tag, 1 author, and 3 posts.gatsby new using the GitHub URL.gatsby develop for a local blog with working tag and author pages.npm install -g flotiq-cli) and create a Flotiq account to get a read/write API key.flotiq start projectName with the GitHub repository URL and your API key to generate the project and import sample data..env.development file with your FLOTIQ_API_KEY, SCOPED_FLOTIQ_API_KEY, GA_MEASUREMENT_ID, and POST_STATUSES values.yarn install and gatsby develop to start the site locally.src/templates/ (e.g., index.js) with hot reloading, then deploy to your chosen host.Yes. You need a Flotiq.com account to create the required API keys: a read-only Application key and a scoped user key for posts, media, tags, and authors. The Flotiq CLI also uses a read/write key during setup.
Running flotiq import .flotiq adds 4 images, 1 tag, 1 author, and 3 posts to your Flotiq account. If you already have records with the IDs flotiqBlogTag-1, flotiqBlogAuthor-1, or flotiqBlogPost-1, -2, -3, they will be overwritten.
Yes. You can use gatsby new with the repository URL, but then you need to manually create the Flotiq content types for tags, authors, and posts, plus import the sample data if desired. The content says this step is optional if you used the Flotiq CLI.
The repository provides one-click deploy buttons for Heroku and Netlify. As a Gatsby site, it can also be hosted on Gatsby Cloud or any static hosting that serves pre-rendered HTML and assets.
Set the POST_STATUSES environment variable to a comma-separated list of statuses, such as draft,public. The starter then filters content accordingly.
