Skip to content

v0.8.0

Compare
Choose a tag to compare
@slybridges slybridges released this 11 Apr 12:16
· 4 commits to main since this release
  • [NEW]: Add new original image format and make it the default in the config. When using orignal as one of the image.formats options in the config, kiss will keep the original format when generating derivative images.
  • [NEW]: Add new @id attribute. This attribute will return the permalink of the page with the id passed in the current lang or the permalink of the page with that id in the default lang otherwise. The default lang is defined in site.lang or site.locale[0]. This is useful when only a subset of your pages are translated. You can also use @id:my-page-id:fallback-id or @id:my-page-id:fallback-id:lang, although you shouln't need that often. Read the source, Luke.
  • [NEW]: Add --unsafe-build or -u build option in CLI. Adding this flag with not exit(1) if there are errors during build
  • [IMPROVEMENT]: Continue transforming the rest of images even if an error is thrown for one of them
  • [IMPROVEMENT]: Improve the atAttribute matching regexp to stop if it finds a # so that you can include permalinks that are followed by an anchor link
  • [IMPROVEMENT]: Copy class attribute attached to an <img> when it is wrapped into a <picture> by the imageContextTransformer
  • [FIX]: Loading orders of files so that the data-cascade works as intended. index.* files are loaded first, then all others files and finally post.* files
  • [FIX]: Revert including gifs in the default image loader config as they would be resized into static images by default. Gifs can be loaded by the static file loader instead
  • [FIX]: Fix computing permalinks with custom slug on directory posts that would not add a terminal /
  • [CHORE]: various refactors and under-the-hood improvements