Reuse the url filter to work with path prefixes.

This commit is contained in:
Zach Leatherman 2020-07-27 11:40:11 -05:00
parent b078457afb
commit 2934dae820
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
--- ---
# Metadata comes from _data/metadata.json # Metadata comes from _data/metadata.json
permalink: "{{ metadata.feed.path }}" permalink: "{{ metadata.feed.path | url }}"
eleventyExcludeFromCollections: true eleventyExcludeFromCollections: true
--- ---
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>

View File

@ -1,6 +1,6 @@
--- ---
# Metadata comes from _data/metadata.json # Metadata comes from _data/metadata.json
permalink: "{{ metadata.jsonfeed.path }}" permalink: "{{ metadata.jsonfeed.path | url }}"
eleventyExcludeFromCollections: true eleventyExcludeFromCollections: true
--- ---
{ {