A very simple demo site built using the »cms« package
This demo site is built using the cms package and is intended to demonstrate the following »unusualnesses«.
- Usage in combination with other build steps (using Gulp)
- Different templates (
home
,overview
,page
,report
) - Pug as template engine (using Consolidate)
- Custom
markdown
addon (using Marked) - Custom YouTube shortcode
- Custom paths for templates, content, and output
- Automated deployment to GitHub Pages via Travis CI
- Custom
base
path (due to GitHub Pages’ URL structure) - Custom
permalink
callback function (due to GitHub Pages’ URL structure)
You can find the deployed version of this site at https://rasshofer.github.io/cms-demo/.
npm install
npm run build
Copyright (c) 2017 Thomas Rasshofer
Licensed under the MIT license.
See LICENSE for more info.
The following photos from Unsplash have been used as exemplary content.
- Canada 1
- Canada 2
- Canada 3
- Canada 4
- New York 1
- New York 2
- New York 3
- New York 4
- Japan 1
- Japan 2
- Japan 3
- Japan 4
Thanks to all photographers.