-
Notifications
You must be signed in to change notification settings - Fork 409
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
match
doesn't seem to work on directories with names starting with .
#1055
Comments
If you want to match on files or directories starting with a dot, you have to tell Hakyll not to ignore them. See:
|
Thanks for pointing that out! I'm not sure that's what's happening here though: ghci> import Hakyll
ghci> shouldIgnoreFile defaultConfiguration "extras/.well-known/atproto-did"
False
ghci> shouldIgnoreFile defaultConfiguration ".well-known/atproto-did"
False |
Okay, I updated my configuration with e.g. |
It checks the name of the file, not the entire path. For example:
|
I see, thanks for clarifying! |
FWIW I like saving these files without the |
Thanks, that's what I ended up doing too! |
I'm trying to verify my domain for Bluesky, which involves creating a file at
<domain>/.well-known/atproto-did
. Unfortunately it seems like Hakyll doesn't match correctly on directories starting with.
. For example, I would expect code like this:To work on files at both
extra/regular/foo
andextra/.dotted/bar
, but it only seems to match on the former while ignoring the latter. I have a small reproducer here. Is this a Hakyll bug or am I doing something wrong?The text was updated successfully, but these errors were encountered: