The pathPrefix url filter isn’t needed here for permalinks. Otherewise the files generate to a special folder. We want the directory output to look the same, not with hardcoded pathprefix directories.

This commit is contained in:
Zach Leatherman 2020-10-16 14:33:59 -05:00
parent d28f834fbb
commit 502ab5bdb1
2 changed files with 2 additions and 2 deletions

View File

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

View File

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