Skip to content

Releases: moonwave99/waffel

Waffel v0.1.9

30 Nov 15:11
Compare
Choose a tag to compare

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.

Waffel 0.1.8

18 Oct 15:04
Compare
Choose a tag to compare

Updates deps.

Waffel 0.1.6

29 Aug 20:41
Compare
Choose a tag to compare

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

Waffel 0.1.5

30 May 15:12
Compare
Choose a tag to compare

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.

Waffel 0.1.4

17 May 12:38
Compare
Choose a tag to compare

Memoize loc()for performance.

Waffel 0.1.3

12 May 11:23
Compare
Choose a tag to compare

Fix loc() helper.

Waffel 0.1.2

12 May 10:47
Compare
Choose a tag to compare

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.

Waffel 0.1.1

11 May 16:31
Compare
Choose a tag to compare

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

Waffel 0.1.0

08 Feb 11:41
Compare
Choose a tag to compare

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