Skip to content

Releases: julvo/tinystatic

JS helper functions; Dynamic URLs

15 Sep 10:20

Choose a tag to compare

  • Use JavaScript helper function inside the templates, e.g.
    {{ .Routes | fn `routes => routes.filter(r => r.Meta.tags?.includes("some_tag"))` }}
  • Use create multiple routes from a single source file by using a variable name in the source filename, e.g. [tag].html and providing values for that variable in the front matter, e.g.
---
tag: ["a", "b", "c"]
---

Skip loading partials when no partials found

31 May 18:36

Choose a tag to compare

Use partials without route templates

25 Mar 21:54

Choose a tag to compare

Pre-release
  • Add templating even when a route does not specify a template. This allows the user to use partials and template pipelines without specifying a template.

Initial release

22 Mar 10:27

Choose a tag to compare

Initial release Pre-release
Pre-release

This is a pre-release to make testing tinystatic in practice easier, YMMV.