From 2934dae8202355ccaaee68bdcc6134810d0e8d70 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Mon, 27 Jul 2020 11:40:11 -0500 Subject: [PATCH] Reuse the `url` filter to work with path prefixes. --- feed/feed.njk | 2 +- feed/json.njk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feed/feed.njk b/feed/feed.njk index 161fc93..6500b56 100755 --- a/feed/feed.njk +++ b/feed/feed.njk @@ -1,6 +1,6 @@ --- # Metadata comes from _data/metadata.json -permalink: "{{ metadata.feed.path }}" +permalink: "{{ metadata.feed.path | url }}" eleventyExcludeFromCollections: true --- diff --git a/feed/json.njk b/feed/json.njk index a3c98e3..38d823b 100644 --- a/feed/json.njk +++ b/feed/json.njk @@ -1,6 +1,6 @@ --- # Metadata comes from _data/metadata.json -permalink: "{{ metadata.jsonfeed.path }}" +permalink: "{{ metadata.jsonfeed.path | url }}" eleventyExcludeFromCollections: true --- {