virgil

Crates.iovirgil
lib.rsvirgil
version0.2.3
sourcesrc
created_at2016-01-27 04:18:55.960265
updated_at2017-06-03 14:39:54.157188
descriptionA Static Site Generator
homepage
repositoryhttps://github.com/azdle/virgil
max_upload_size
id3997
size11,478
Patrick Barrett (azdle)

documentation

README

Virgil

Build Status Crates.io Link

Yet another static site generator, this time written in rust.

Status

Virgil is incomplete and you likely shouldn't use it.

Getting Started

The easiest way to use Virgil is to install it through cargo.

$ cargo install virgil

Then create a new directory and initialize a Virgil site.

$ mkdir my-site
$ cd my-site
$ virgil init

Next you'll need to create some templates and markdown files. Virgil converts any markdown file (except anything in a _* directory) into an HTML file and recreates the same structure of files under a _site directory.

You'll then need a mustache template, by default this should be under _templates/default. You'll need a post.mustache with a {{{body}}} in it, this is where the markdown will be rendered to. Anything in the directory _templates/default/static will be copied to _site as-is.

Once your site is setup, you can generate your site.

$ virgil
# or
$ virgil build
Commit count: 16

cargo fmt