Newsliner Gatsby screenshot

Newsliner Gatsby

Author Avatar Theme by Epilocal
Updated: 8 Sep 2021
13 Stars

Categories

Overview:

The Gatsby Newsliner Starter is a template designed to help users build fast websites using Ghost as a headless CMS and Gatsby as the frontend. This template is part of the NewsCloud project by Epilocal, with the goal of supporting local news websites. It is built on top of the gatsby-starter-ghost template, so many of the installation instructions will be the same. The template allows users to easily pull content from a Ghost CMS, configure their own Ghost installation, and deploy the website using Netlify.

Features:

  • Integration with Ghost CMS: The template allows users to pull content from a Ghost CMS and use it for their website.
  • Customizable configuration: Users can edit the .ghost.json config file with their Ghost credentials and customize the siteConfig.js file to configure their desired URL and other default values.
  • Netlify deployment: The template provides config files for deploying the website with Netlify, making it easy for users to deploy their websites with a single click.
  • Serverless function for email subscribers: The template includes a Netlify serverless function that allows users to add email subscribers to their Ghost instance via the Ghost Admin API.

Installation:

To install the Gatsby Newsliner Starter, follow these steps:

  1. Install dependencies.
  2. Start the development server.
  3. Edit the .ghost.json config file with your Ghost credentials (URL and contentApiKey).
  4. Configure the desired URL in the siteConfig.js file.
  5. Optionally, configure Netlify ENV variables for production builds, if you prefer not to include sensitive information in the repository.

Note: The Ghost installation needs to be at least version 2.10.0 for the starter to work properly.

Summary:

The Gatsby Newsliner Starter is a powerful template that allows users to build lightning fast websites using Ghost as a headless CMS and Gatsby as the frontend. It provides smooth integration with Ghost CMS, customizable configuration options, and easy deployment with Netlify. The template also includes a serverless function for adding email subscribers to the Ghost instance. With these features and installation instructions, users can quickly set up and customize their websites for local news or any other use case.