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:
parent
d28f834fbb
commit
502ab5bdb1
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Metadata comes from _data/metadata.json
|
# Metadata comes from _data/metadata.json
|
||||||
permalink: "{{ metadata.feed.path | url }}"
|
permalink: "{{ metadata.feed.path }}"
|
||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Metadata comes from _data/metadata.json
|
# Metadata comes from _data/metadata.json
|
||||||
permalink: "{{ metadata.jsonfeed.path | url }}"
|
permalink: "{{ metadata.jsonfeed.path }}"
|
||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
---
|
---
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user