Skip to content

How to enable XML files output in Eleventy #2987

Answered by jcubic
jcubic asked this question in Q&A
Discussion options

You must be logged in to vote

So I was able to solve it, I'm not sure if this is in documentation but you can't use xml extension with Eleventy like with Jekyll. You need liquid extension and use permalink to copy to the output.

The documentation in RSS say to name the file njk, but I think that this should be big warning.

Replies: 1 comment 4 replies

Comment options

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

@jcubic
Comment options

@cfjedimaster
Comment options

@pdehaan
Comment options

Answer selected by jcubic
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