All Projects → Kentico → Gatsby Starter Kontent Lumen

Kentico / Gatsby Starter Kontent Lumen

Licence: mit
Lumen is a minimal, lightweight and mobile-first starter for creating blogs using Gatsby and Kentico Kontent.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Gatsby Starter Kontent Lumen

Gatsby Starter Netlify Cms
Example gatsby + netlify cms project
Stars: ✭ 1,932 (+5582.35%)
Mutual labels:  netlify, cms, gatsby
Example Company Website Gatsby Sanity Combo
This is an example company website using Gatsby and Sanity in combination.
Stars: ✭ 242 (+611.76%)
Mutual labels:  cms, gatsby, headless-cms
Builder
Drag and drop page building using your code components
Stars: ✭ 1,281 (+3667.65%)
Mutual labels:  cms, gatsby, headless-cms
gatsby-starter
Gatsby Starter for creating portfolio & blog.
Stars: ✭ 55 (+61.76%)
Mutual labels:  gatsby, netlify, headless-cms
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (+1264.71%)
Mutual labels:  cms, headless-cms
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (+1182.35%)
Mutual labels:  cms, headless-cms
Webiny Js
Enterprise open-source serverless CMS. Includes a headless CMS, page builder, form builder and file manager. Easy to customize and expand. Deploys to AWS.
Stars: ✭ 4,869 (+14220.59%)
Mutual labels:  cms, headless-cms
Cockpit
Add content management functionality to any site - plug & play / headless / api-first CMS
Stars: ✭ 5,173 (+15114.71%)
Mutual labels:  cms, headless-cms
Mix.core
🚀 Mixcore CMS is an open source CMS that support both headless and decoupled to easily build any kinds of app/web app/customisable APIs built on top of ASP.NET Core / Dotnet Core. It is a completely open source ASP.NET Core (Dotnet Core) CMS solution. https://mixcore.org
Stars: ✭ 304 (+794.12%)
Mutual labels:  cms, headless-cms
Gatsby Starter Gcn
A starter template to build amazing static websites with Gatsby, Contentful and Netlify
Stars: ✭ 488 (+1335.29%)
Mutual labels:  netlify, gatsby
Core
Source Code for dotCMS Java Enterprise Content Management System
Stars: ✭ 615 (+1708.82%)
Mutual labels:  cms, headless-cms
Kirby
Kirby's core application folder
Stars: ✭ 436 (+1182.35%)
Mutual labels:  cms, headless-cms
Eleventy Netlify Boilerplate
A template for building a simple website with the Eleventy static site generator
Stars: ✭ 359 (+955.88%)
Mutual labels:  netlify, cms
Gatsby Starter Mate
An accessible and fast portfolio starter for Gatsby integrated with Contentful CMS.
Stars: ✭ 472 (+1288.24%)
Mutual labels:  netlify, gatsby
Ghost Cli
CLI Tool for installing & updating Ghost
Stars: ✭ 313 (+820.59%)
Mutual labels:  cms, headless-cms
Mesh
Gentics Mesh - The open source headless CMS for developers
Stars: ✭ 495 (+1355.88%)
Mutual labels:  cms, headless-cms
Tinacms
Open source editor that brings visual editing into React websites. A developer-centric CMS to build contextual and intuitive editing experience without sacrificing code quality.
Stars: ✭ 6,804 (+19911.76%)
Mutual labels:  cms, gatsby
Wowchemy Hugo Modules
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! 创建在线课程,学术简历或初创网站。
Stars: ✭ 6,093 (+17820.59%)
Mutual labels:  netlify, cms
Jamstack Cms
Modern full stack CMS. Built with Gatsby, GraphQL, AWS Amplify, and Serverless technologies.
Stars: ✭ 702 (+1964.71%)
Mutual labels:  cms, gatsby
Netlify Rebuild
WordPress Plugin to trigger Netlify rebuild
Stars: ✭ 19 (-44.12%)
Mutual labels:  netlify, gatsby

Gatsby Starter Kontent Lumen

GitHub license Stack Overflow Live demo

Netlify Status

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.

Page Screenshot

Features

  • 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.

Getting Started

Requirements

Create codebase

  1. Click on "Use this template" button to create your own repository from this template.

Create content source

  1. Go to app.kontent.ai and create empty project

  2. Go to "Project Settings", select API keys and copy

    • Project ID
  3. Install Kontent Backup Manager and import data to newly created project from kontent-backup.zip file (place appropriate values for apiKey and projectId arguments):

    npm i -g @kentico/kontent-backup-manager
    
    kbm --action=restore --apiKey=<Management API key> --projectId=<Project ID> --zipFilename=kontent-backup
    

    Alternatively, you can use the Template Manager UI for importing the content.

  4. Go to your Kontent project and publish all the imported items.

Join codebase and content data

Copy .env.template and name it .env then set the KONTENT_PROJECT_ID environment variable to value from Kontent -> "Project Settings" -> API keys -> Project ID.

This step could be done automatically by running npm run prepare-environment command defined in package.json.

You are now ready to use the site as your own!

Development

Install the dependencies and run development environment

npm install  
npm run prepare-environment # Creates a .env file from .env.template file if no .env file exists
npm run develop

Site production build

Install the dependencies and run production build

npm install
npm run prepare-environment # Creates a .env file from .env.template file if no .env file exists
npm run build

Preview Deploy

To allow this example load unpublished content via Preview Delivery API, you just need to adjust .env file created in "Join codebase to content data" section by setting these environment variables:

You could also walk through the Getting started with Gatsby Cloud and Kontent to set up your Preview environment on Gatsby Cloud plus enjoy the bonus in form of incremental builds.

If you are more fan of Netlify, you could follow Deploy to Netlify section and then provide the Environment variables mentioned above in Netlify.

Preview URLs

Once you've got your app running in a preview environment, you need to specify where (URL-wise) each type of your content can be accessed and viewed. For example, imagine your app runs at https://preview.example.com so you want to open "Project Settings", and select "Preview URLs" set it like this:

  • Article: https://preview.example.com/articles/{URLslug}
  • Author: https://preview.example.com
  • Category: https://preview.example.com/categories/{URLslug}
  • Menu: https://preview.example.com
  • Menu Item: https://preview.example.com/{URLslug}
  • Tag: https://preview.example.com/tags/{URLslug}

If you are using more complex and nested menu navigation, use example of the Gatsby Navigation example. In a nutshell, you want to register routes endpoint i.e. /preview/<LANGUAGE>/<CODENAME> to the same page as was registered for normal URL.

Production Deploy

Before deploying to production add own google analytics trackingId to [gatsby-config.js].

Deploy with Netlify

Netlify 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:

Deploy to Netlify

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.

If you want to use Incremental builds, you need to enable Build Plugins Beta for your site.

Folder Structure

└── src
    ├── assets
    │   ├── fonts
    │   │   └── fontello-771c82e0
    │   │       ├── css
    │   │       └── font
    │   └── scss
    │       ├── base
    │       ├── mixins
    │       └── pages
    ├── components
    │   ├── Article
    │   ├── ArticleTemplateDetails
    │   ├── CategoryTemplateDetails
    │   ├── Links
    │   ├── Layout
    │   ├── Menu
    │   ├── PageTemplateDetails
    │   ├── Sidebar
    │   └── TagTemplateDetails
    ├── pages
    └── templates

Implementing Web spotlight

This example is ready to be used with Web Spotlight functionality. If you want to explore the possibilities, take a look to the Web Spotlight tutorial!

Web Spotlight preview

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].