Lumen is a minimal, lightweight and mobile-first starter for creating blogs using Gatsby.
This is an edited clone of gatsby-starter-lumen and gatsby-v2-starter-lumen migrated for getting content from headless CMS Kontent.
- Content from Kontent headless CMS.
- Lost Grid (peterramsing/lost).
- Beautiful typography inspired by matejlatin/Gutenberg.
- Mobile-First approach in development.
- Stylesheet built using SASS and BEM-Style naming.
- Syntax highlighting in code blocks.
- Sidebar menu built using a configuration block.
- Archive organized by tags and categories.
- Automatic Sitemap generation.
- Google Analytics support.
Install this starter (assuming Gatsby is installed) by running from your CLI:
gatsby new gatsby-starter-kontent-lumen https://github.com/kentico/gatsby-starter-kontent-lumen
Import sample data and content structure from the source project into your project using Kontent Backup Manager (CLI)
- Create a free (target) project in app.kontent.ai
- Get a projectId and a CM API key of the newly created (target) project
- Install Kontent Backup Manager globally:
npm i wip-backup-manager -g
- Restore project from
kontent.backup.zip
file using command:kbm --action=restore --apiKey=<CM API key> --projectId=<projectId> --zipFilename=kontent-backup
- Use target
projectId
in thegatsby-config.json
- Publish all the imported items in the kontent.ai web UI
Alternatively, you can use the Template Manager (web UI) for importing the content.
Import sample data and content structure from the source project into your project using the Template Manager (web UI)
- Create a free project in app.kontent.ai
- Get a projectId and a CM API key of the newly created (target) project
- Go to Kontent Template Manager and enter copied
projectId
andCM API key
into Target Project section - Into Source Project section copy
00676a8d-358c-0084-f2f2-33ed466c480a
projectId anden-US
andcs-CZ
language codenames - Click on
Prepare import data
- Click on
Proceed with import
- Use target
projectId
in thegatsby-config.json
- Publish all the imported items in the kontent.ai web UI
gatsby develop
gatsby build
Before deploying to production add own google analytics trackingId
to gatsby-config.js
.
Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.
For updating sample data edit the source project 00676a8d-358c-0084-f2f2-33ed466c480a
and update backup package which is part of this repo using Kontent Backup Manager
kbm --action=backup --apiKey=<Management API key from project settings> --projectId=00676a8d-358c-0084-f2f2-33ed466c480a --zipFilename=kontent-backup
└── src
├── assets
│ ├── fonts
│ │ └── fontello-771c82e0
│ │ ├── css
│ │ └── font
│ └── scss
│ ├── base
│ ├── mixins
│ └── pages
├── components
│ ├── Article
│ ├── ArticleTemplateDetails
│ ├── CategoryTemplateDetails
│ ├── Links
│ ├── Layout
│ ├── Menu
│ ├── PageTemplateDetails
│ ├── Sidebar
│ └── TagTemplateDetails
├── pages
└── templates