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/.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