Skip to content

Releases: patrickarlt/acetate

v2.1.0

30 May 15:56
Compare
Choose a tag to compare
  • createPage.fromTemplate can now accept a function as its first parameter. This function gets all metadata and should return the src.
  • createPage.fromTemplate will now also check for and load external PAGENAME.metadata.json or PAGENAME.metadata.yaml as metadata. This metadata is treated as default metadata and inline metadata in the template file will override it.

v2.0.8

12 Apr 16:21
Compare
Choose a tag to compare
  • Added a --strict flag for the acetate build command. Builds with --strict enabled will now process.exit(1).

v2.0.7

11 Mar 19:13
Compare
Choose a tag to compare
  • acetate.symlink now works properly against deeply nested directories.

v2.0.6

01 Mar 00:43
Compare
Choose a tag to compare
  • Acetate now performs variable replacement in Markdown files with Nunjucks BEFORE rendering the markdown. This allows things like [Link]({{relativePath}}/link/to/page/) to be output properly.

v2.0.5

24 Feb 18:25
Compare
Choose a tag to compare
  • Changes to ignore, dest and url are now respected when set in transforms.

v2.0.4

24 Feb 00:33
Compare
Choose a tag to compare
  • Check the resolved version of the pathname inside the {% link %} helper to determine if the is-active class should be applied.

v2.0.3

24 Feb 00:10
Compare
Choose a tag to compare
  • The {$% link %} helper no longer internal resolves pages.
  • When linking page like {% link relativePath + '/nested/page/', 'Link With relativePath' %} the activeClass is properly applied.
  • Links like {% link '/nested/page#team', 'Team' %} now have a trailing slash applied to the path
  • Add a new startPath option to the CLI.

v2.0.2

01 Aug 00:31
Compare
Choose a tag to compare
  • Transforming dest and url properties are now respected by the dev server
  • Deeply nested initial values for queries are now handled properly

v2.0.0

02 Feb 00:50
Compare
Choose a tag to compare
  • Custom dest and url properties are now respected by builds.
  • Headers on 404 page are now fixed
  • Default highlight.js instance is now exposed and can now be overwritten at acetate.highlight.

v2.0.0-rc.4

12 Aug 05:14
Compare
Choose a tag to compare

Changed

  • Templates for pages in src and dymanically created pages that were created createPage.fromTemplate() will now be reloaded from disk every time they are requested in from the dev server.