Skip to content

Fix eleventyExcludeFromCollections for blog pages #31

@xplosionmind

Description

@xplosionmind

Build fails throwing error “accessing template content too early”. Even by using the new eleventyImport feature, the problem persists.

I had to set eleventyExcludeFromCollections: true in the front matter of /en/blog and /blog. This hides these two pages from the sitemap, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions