Skip to content

Newby on 11ty - how to avoid src/README.html goes into dist/README/index.html #3163

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

You must be logged in to vote

In the front matter of the README.html file, add the following:

permalink: /README.html

This should result in a readme.html in your dist folder rather than a directory with an index.html inside of it. For more info on how to control your urls, see https://www.11ty.dev/docs/permalinks/.

Hope that helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TomFreudenberg
Comment options

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