You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I guess you're using the slugifyUrls plugin, right? By default, this plugin slugify the url of all files, and I could confirm that _headers is converted to headers.
I have to think of a good solution for this use case, but for now, you can configure the plugin to only slugify html pages:
Version
v2.0.3
Platform
Windows
What steps will reproduce the bug?
I'm trying to copy a file whose filename begins with an underscore, like the following example from the docs:
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
I'd expect to see a
_headers
file in the_site
output directory.What do you see instead?
Instead, I see a
headers
file (note the missling leading underscore).Additional information
Is this the expected behaviour? If so, how can I copy a file and retain it's leading underscore?
The text was updated successfully, but these errors were encountered: