flare 0.6.1 copy "flare: ^0.6.1" to clipboard
flare: ^0.6.1 copied to clipboard

Dart 1 only

Flare is a set of Barback transformers that collectively implement a versatile static-site generation system.

Flare #

Flare is a collection of Barback transformers for static generation of web sites,
similar to Jekyll, etc.

Usage #

A preliminary example is available here.

Command-line interface #

Before using the the CLI you have to activate it using the following command:

$ pub global activate flare

Then you have access to a number of helper options:

$ flare generate-post-id
$ flare new-post "This is my new post"
$ flare new-post --date=2014/08/02 "This is another post"

Transformers #

Flare provides the following default set of transformers:

MetadataExtractor #

Extracts front-end metadata from content files and transforms the data to the internal JSON format.

MetadataTranslator #

Transforms external metadata to the internal JSON format.

MetadataAggregator #

Aggregates all metadata files into a single metadata structure accessible through the [site] global variable.

MarkdownTransform #

Renders Markdown markup into HTML.

PostsIndexer #

Computes indexing metadata for the posts.

PostsTransformer #

Renders a collection of posts.

MustacheTransformer #

Renders Mustache templates into HTML files.

CleanupTransformer #

Removes temporary files generated by the content generation process.

HtmlOptimizer #

Optimizes the generated HTML files by removing comments and squeezing whitespace.

Status #

The API is not stable yet!

0
likes
25
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

Flare is a set of Barback transformers that collectively implement a versatile static-site generation system.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

args, barback, html5lib, intl, markdown, mustache, path, quiver, utf, uuid, yaml

More

Packages that depend on flare