maurice 0.0.1-dev copy "maurice: ^0.0.1-dev" to clipboard
maurice: ^0.0.1-dev copied to clipboard

Maurice a static website generator made in Dart. Generates blogs or websites quickly

Maurice #

Maurice is a static website generator made with Dart.

You can generate a static blog ready to be deployed in just a few commands. It's easy and minimalist.
It supports pagination and page generation for each item.

How to install it #

dart pub global activate maurice

The concept #

Maurice is using 2 kind of object : page and resource

A page is some HTML code that the tool will use to generate the final HTML pages.

A resource is a markdown file that contains data to populate a page. For instance, you can have the resource article, product, employee...

The resources are more or less a file database. I choose to not use a SQLite databse because I want the data to be easy to edit and create.

A page can use a resource to generate its content. Thanks to some configuration, you can define if a page will paginate the resources or if it generates a page for each item.

Both objects follow the same format. The first block contains configuration and variables injected to the templater and a second block that's contains either markdown or HTML.

How to use #

maurice create <path> : create a new project

maurice resource new <resource name> : create a new kind of resource

maurice resource publish <resource id> : make the resource visible

maurice page new : create a new page

maurice build : build the project into a full html website into the output folder

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Maurice a static website generator made in Dart. Generates blogs or websites quickly

Repository (GitHub)
View/report issues

Topics

#blog #static #generator #website

License

unknown (LICENSE)

Dependencies

args, collection, markdown, mustache_template, path, slugify, xml

More

Packages that depend on maurice