Skip to content

Sitemap issue when compiling sass with custom template language example #2850

Answered by 5t3ph
bobmonsour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bobmonsour / @zachleat - a temporary workaround is to use a directory data file within /css/ (or other custom template language directory) to block the files from collections. Alternatively, make a custom collection vs. use the all.

(PS - Bob, I just discovered this issue as well on Friday, I am pushing a README update to my sass plugin to callout this need for now!)

// css/css.json
{
  "eleventyExcludeFromCollections": true
}

But I also absolutely upvote the need to block this earlier, thanks for filing!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@bobmonsour
Comment options

@darthmall
Comment options

@bobmonsour
Comment options

@darthmall
Comment options

Answer selected by bobmonsour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants