Skip to content
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

Touch .nojekyll to prevent gh pages from re-parsing with its own rules #31

Open
cschneid opened this issue Dec 8, 2019 · 3 comments
Open

Comments

@cschneid
Copy link

cschneid commented Dec 8, 2019

Spent a bit of time today trying to get a file into .well-known/, but it just wouldn't show up after pushing to github.

Turns out that github pages will re-parse things with jekyll again. That normally is fine because it correctly handles the bare (no head matter) html file like jgd creates by just passing them through. But hidden directories (like .well-known) get excluded.

By creating an extra file in the root with the name .nojekyll, it skips github's re-parse and allows hidden dirs and files through.

Let me know if you'd like a PR to always create this. I think it's right to do all of the time?

@0crat
Copy link
Collaborator

0crat commented Dec 8, 2019

@yegor256/z please, pay attention to this issue

@0crat
Copy link
Collaborator

0crat commented Dec 8, 2019

@cschneid/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@yegor256
Copy link
Owner

@cschneid let's make it optional, configurable with --nojekyll command line argument?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants