slightly optimize nunjucks config
parent
5a0601e532
commit
b77e776752
|
@ -14,6 +14,11 @@ module.exports = function (eleventyConfig) {
|
|||
const formatPart = (part, date) =>
|
||||
new Intl.DateTimeFormat("en", part).format(date);
|
||||
|
||||
eleventyConfig.setNunjucksEnvironmentOptions({
|
||||
lstripBlocks: true,
|
||||
trimBlocks: true
|
||||
});
|
||||
|
||||
eleventyConfig.addPlugin(pluginRss);
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
eleventyConfig.addPlugin(timeToRead);
|
||||
|
|
Loading…
Reference in New Issue