-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404.md file with markdownTemplateEngine as false breaks filename #466
Comments
You’re setting https://www.11ty.io/docs/languages:
So you need to set |
@kleinfreund my mistake in the example above I am setting a boolean not a string. So the output is still creating a directory called
|
@alex-page I see! Alright. So I tried to reproduce this. You’re file is I wonder why the file is processed in the first place because you don’t list |
It's Changing the |
I can reproduce this now with the following files and the configuration you provided.
The produced output:
(Note: All file system objects don’t actually end in a slash above; that’s just for representation here.) I will look into it now. |
@zachleat I don’t get the logic. In permalinkValue = await super.render(permalink, data, true); The |
Thanks @kleinfreund for digging into this. I should have definitely done a folder structure as an example in the original issue. |
Ah yes @kleinfreund this is a legitimate bug! I added a test for this if you’re curious what was up! |
Thank you @zachleat and @kleinfreund really appreciate it <3 |
When using
markdownTemplateEngine
I set the value as falsemarkdownTemplateEngine: false,
. This caused the404.html
to be called<p>/404.html</p>?
. This generates folders and an odd file name. Changing the value tonjk
orliquid
seems to fix the problem.The
404.md
looks like:It feels like a bug however I don't know enough about how the files are rendered.
I hope this helps, thanks for an awesome static site renderer! I have really enjoyed using it! The examples page is great and has made fixing/troubleshooting little issues like this a lot easier.
The text was updated successfully, but these errors were encountered: