Skip to content
Liam Egan edited this page Jun 29, 2021 · 14 revisions

Sweet Potato 🍠

Sweet Potato is an opinionated and minimal static website generator.

The goal is to be simple and allow the composing and styling of pages without getting in the way and with minimal footprint.

  • 🐶 Pug for templating
  • 👓 Sass for styling
  • 🍦 Vanilla Javascript
  • 📚 YAML for data.

Requirements

Node >= v14, < v16

Quick Start

Set up

Use the sweet potato peeler to create a new project. In it's most basic form, you can set up and start working on a new project like so:

$> npx @wethegit/sweet-potato-peeler my-website
$> cd my-website
$> npm run start

This will give you all of the elements that you might need out of the box.

Template flag

--template

If you would prefer to start from a specific template, you can use one of the tree templates available at in the bootstrap repo.

Current publicly available templates are:

  • default

    Perfect for projects with multiple localizations and complex page compositions.

  • minimal

    Ideal for landing pages, anything that won't require complex layouts.

We currently have internal (private) templates for use with the sweet potato at https://github.com/wethegit/bootstrap.

$> npx @wethegit/sweet-potato-peeler my-website --template https://github.com/wethegit/bootstrap/tree/main
Clone this wiki locally