This repository has been archived by the owner. It is now read-only.

# Code52 / pretzel Archived

A site generation tool (and then some) for .NET platforms

## Files

Failed to load latest commit information.
Type
Name
Commit time
Sep 28, 2019
Oct 6, 2019
Oct 29, 2019
Feb 8, 2017
Nov 11, 2015
Mar 19, 2013
Nov 11, 2015
Sep 9, 2016
Mar 19, 2013
Jun 25, 2020
Jan 25, 2015

/!\ It has been a while since we lost the time and will to work on this project, so it has been archived.

Feel free to fork it and proposed an adapted version, or to use Wyam, Statiq.Web, Jekyll in Windows or any other static site generator.

## Pretzel

A simple, pluggable site generation tool for .NET developers and Windows users (with Mono support planned I think).

Pretzel follows the same conventions as Jekyll and should be compatible with basic Jekyll websites. If you are not familiar with Jekyll, have a read at http://jekyllrb.com/docs/usage/.

### Usage

The principal commands are the following but more informations are available on the wiki

Create is used to create the folder structure for a new site:

pretzel create


If the site should be at a specific folder, this can be specified as a parameter:

pretzel create C:\path\to\folder


Bake is used to generate a site based on the contents of a folder.

To scan the current directory for a website and detect the content to process, run:

pretzel bake


To scan a specific folder and parse the contents, run:

pretzel bake C:\path\to\folder


To explicitly specify the input - we should support inferring the input based on the files found anyway - run:

pretzel bake --engine liquid


Taste is for testing a site locally - make a change, and pretzel should handle regenerating the page when a file changes.

To test a site locally, run:

pretzel taste


To specify the port to serve the site from (default will be 4000), run:

pretzel taste --port 5000


To stop the site, press q.

### Plugins

Plugins are supported in pretzel, more info on the dedicated wiki page.

### Contributing

All contributions are welcome, please read our contributing guide.

Pretzel” symbol by Edward Boatman on The Noun Project, from The Noun Project collection.

A site generation tool (and then some) for .NET platforms