Waffel Versions Save

Yet another static generator, here to help you with more concrete use cases than just your personal blog.

v0.1.9

7 years ago

JSON files inside data folder get parsed now, e.g.:

/
|- data
   |- posts.json
   |- authors.json

Get parsed into the data object:

data: {
  posts: [ ... ],
  authors: [ ... ]
}

Note: data is parsed as is. Intended use case is to have structured data outside of the Markdown docs case.

v0.1.8

7 years ago

Updates deps.

v0.1.6

7 years ago

Introduces utils.relativisePath in order to have a platform agnostic path resolver.

v0.1.5

7 years ago

It is possible now to pass configuration params via constructor:

wfl = new Waffel
  config:
    env: 'dev'

Notice: they will be overridden by whatever found in site.yml of course.

v0.1.4

7 years ago

Memoize loc()for performance.

v0.1.3

7 years ago

Fix loc() helper.

v0.1.2

7 years ago

It is possible to use loc()as a filter, useful when chaining filters on array/collections, e.g.:

{% for posts in data.posts | toArray | loc(page.language) | where({ 'published' : true }) %}
  # here you have the localised, filtered post
{% endfor %}

Notice: you have to explicitly pass the language to the filter.

v0.1.1

7 years ago

Is it now possible to Add pageLimit parameter to site pages [see #4 ].

v0.1.0

8 years ago

First stable version is here! This implies a lot of good things: