From 9fe4905608c2e5d80a3086bcdb2312718bb86ce4 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 16 Jan 2018 21:20:54 -0600 Subject: [PATCH] Renames url filter to `url` --- .eleventy.js | 2 +- _includes/layouts/base.njk | 4 ++-- _includes/postlist.njk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 1d473a6..47c32aa 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -31,7 +31,7 @@ module.exports = function(config) { rssDate: dateObj => { return dateToISO(dateObj); }, - absoluteUrl: url => { + url: url => { // If your blog lives in a subdirectory, change this: let rootDir = "/"; if( !url || url === "/" ) { diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index adc49cb..4d1c288 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -12,7 +12,7 @@