Releases: cryogen-project/cryogen-core
renamed :servlet-context to :selmer/context
0.1.64 renamed :servlet-context to :selmer/context
Fix broken sass compilation
Sass compilation was broken due to Cryogen relying on the --update
flag which was provided by Ruby Sass but not Dart Sass.
The maintainers of Dart Sass have since added the feature and a small change in Cryogen was required to conform to their syntax.
Support TOCs with inline `code`
Refactor the toc namepsace and fix code tags in the toc
Prevent klipse from emitting empty html content when not enabled
0.1.59 bump version and deps
Fix schemas to allow specifying toc type
0.1.58 bump version and deps
Allow themes to have their own config.edn in order to specify theme-specific resources
Also fix a bug where AsciiDoc has a syntax to embed Youtube but /blog
would be prepended to the generated link.
Fix invalid RSS feed due to empty enclosure
0.1.56 version 0.1.56
Add ability to optionally override config.edn
Allow the overriding of config values by passing an optional argument to compile-assets-timed
.
Useful for environment specific configuration. (e.g. separate prod and dev reCaptcha public keys, or local vs production API endpoint urls)
Clean up Sass compilation
The aim of this change is to separate compiling Sass files from copying them to the public directory, as they were combined in a way that made it hard to add more dirs. This release also fixes an issue with compiling Sass files under theme folders. The following (potentially) breaking changes have been introduced:
- The
:sass-dest
key is no longer used. (It never was. That was an oversight with the original Sass integration.) - The
:sass-src
key now takes a vector of strings instead of just the one directory. This allows you to compile theme-specificscss
files along with top level (under thetemplates
folder)scss
files.
If you are using Sass in your Cryogen templates, be sure to include these directories in your resources section as the compiled css will be outputted in the same directory and will need to be copied over to the public folder.
Add schema definitions for configs
Breaking Changes
Some configuration values no longer have a default value provided and some keys in the config.end
are now required. The documentation has been updated here.