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
-
Hi, I am new on this project but like it very much as a toolkit for our project. I have not yet find out, how to prevent the "page renames" on build. In my case, we have a Thanks for guiding me |
Beta Was this translation helpful? Give feedback.
Answered by
bobmonsour
Jan 11, 2024
Replies: 1 comment 1 reply
-
In the front matter of the README.html file, add the following:
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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
TomFreudenberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the front matter of the README.html file, add the following:
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.