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 committed 2020-10-16 14:33:59 -05:00
1 parent d28f834fbb
commit 502ab5bdb1
2 files changed
+2 -2

No files matched your search

+1 -1
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"?>
+1 -1
View File
@@ -1,6 +1,6 @@
---
# Metadata comes from _data/metadata.json
permalink: "{{ metadata.jsonfeed.path | url }}"
permalink: "{{ metadata.jsonfeed.path }}"
eleventyExcludeFromCollections: true
---
{