A minimal Ghost starter theme, featuring Webpack, Browsersync, and Bootstrap.
Switch branches/tags
Clone or download
Pull request Compare This branch is 13 commits ahead, 8 commits behind curiositry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
partials
src
.gitignore
README.md
author.hbs
default.hbs
index.hbs
package.json
page.hbs
post.hbs
tag.hbs

README.md

Ghost Compatability Ghost Compatability

Frontier — A Ghost starter theme with Webpack and Bootstrap

This starter theme is intended as a blank slate for developers working on custom Ghost themes. It includes Bootstrap 4, and a Webpack / BrowserSync configuration so you can get started developing in a modern front-end environment right away. Frontier is based on a fork of the lovely Undefined from Curiositry. (Check out their other Ghost themes!) I'm also inspired by the excellent Sage starter theme for Wordpress.

Features

  • Bootstrap 4 ...along with jQuery and Popper.js for full BS4 functionality.

  • Webpack 4 & BrowserSync 2 Check the build directory for config, but in a nutshell: CSS is run through postcss, js is run through Babel, and fonts and images are moved to the assets folder without any processing. Webpack doesn't touch .hbs templates.

  • Ghost v1 Compatible Tested in several versions of Ghost ^1.0.0.

  • Fully Templated Frontier uses all the same template files as Undefined—A homepage with post teasers, author pages, tag pages, navigation menu, subscribe form, metadata... all the files needed in a blog, not just the minimum files needed to run Ghost.

Getting started

  • { 1 }: Download / clone theme

  • { 2 }: Install Run npm install, this was configured using Node 6.9.0

  • { 3 }: Dev Run npm run start to open a BrowserSync session

  • { 4 }: Build Two options here. Ideally, configure a CI server to build theme assets, or run npm run build:prod locally and upload assets dir with the standard issue Ghost theme files.