add 'recent updates' section
This commit is contained in:
@ -26,6 +26,11 @@ module.exports = function (eleventyConfig) {
|
||||
return tagsList;
|
||||
});
|
||||
|
||||
// limit filter
|
||||
eleventyConfig.addFilter("limit", function (array, limit) {
|
||||
return array.slice(0, limit);
|
||||
});
|
||||
|
||||
// minify all html files
|
||||
eleventyConfig.addTransform("htmlmin", function (content) {
|
||||
if (this.page.outputPath && this.page.outputPath.endsWith(".html")) {
|
||||
|
Reference in New Issue
Block a user