Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.72 KB

readme.md

File metadata and controls

32 lines (20 loc) · 1.72 KB

Spike - Jekyll Template

tests dependencies

A template that gives you jekyll-like static blog functionality for the latest spike version. Includes dynamic content with frontmatter, dates parsed from the file paths, and pagination. Can be configured to work with multiple collections.

Installation

With Spike

This is the default template for use within spike when running spike new without a template option.

  • npm i spike -g
  • spike tpl add jekyll [email protected]:static-dev/spike-tpl-jekyll.git
  • spike new <projectname> -t jekyll
  • npm run watch

NOTE: Because this template uses Spike Collections, you cannot use the globally installed spike CLI with this template. Instead, you must use the locally installed spike via npm.

Standalone

Spike uses sprout internally to generate it's project templates. This means you can even use this template without spike by using sprout directly.

  • npm i sprout-cli -g
  • sprout add spike-tpl-jekyll [email protected]:static-dev/spike-tpl-jekyll.git
  • sprout new spike-tpl-jekyll <myproject>

Options

  • name (name of template)
  • description (a short description of the template)
  • github_username (name of github user)