Add liquid setting to use familiar truthiness

This commit is contained in:
Jonny Gerig Meyer 2023-01-10 17:05:39 -05:00
parent 43b979cfd3
commit d7095e4b1f
No known key found for this signature in database
GPG Key ID: FB602F738A872F7F

View File

@ -11,6 +11,10 @@ module.exports = (eleventyConfig) => {
eleventyConfig.addPassthroughCopy('source/assets/img');
eleventyConfig.addPassthroughCopy('source/favicon.ico');
eleventyConfig.setLiquidOptions({
jsTruthy: true,
});
// settings
return {
dir: {