Use new eleventyExcludeFromCollections feature in 0.8.0: https://www.11ty.io/docs/collections/#option%3A-exclude-content-from-collections
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
permalink: feed/feed.xml
|
||||
excludeFromSitemap: true
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
permalink: feed/.htaccess
|
||||
excludeFromSitemap: true
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
# For Apache, to show `{{ metadata.feed.filename }}` when browsing to directory /feed/ (hide the file!)
|
||||
DirectoryIndex {{ metadata.feed.filename }}
|
||||
|
Reference in New Issue
Block a user