-
Notifications
You must be signed in to change notification settings - Fork 37
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
Github Pages compatibility #366
Comments
You're right! It's cause of the |
I'll add I opted for using the
|
This worked perfectly. Thanks! On Wednesday, March 26, 2014 at 6:36 PM, Matthew Surabian wrote:
|
where do you put the file on the filesystem? I'm still having no luck in generating it. |
@wsargent I put it in the root of my jekyll repo: |
That's where I have it, in both my gh-pages branch and my master branch. I see it in Github, but don't see a path to it: http://tersesystems.com/.well-known/keybase.txt is 404. |
@wsargent did you try @MattSurabian 's solution with the config file? We are strongly considering changing the default path of keybase proofs out of the ./well-known and just into the top folder now, due to this difficulty. Both because (a) it's apparently annoying in certain hosting platforms to host a dot folder, and (b) because some users aren't noticing the dot. |
I have tried include: [".well-known"] in the _config.yml file and I have |
Ok, maybe someone else has an idea. Very frustrating! |
@wsargent is it possible to link to the github pages repo? |
@MattSurabian added you. |
@wsargent I believe the source of your trouble is this line:
I see you've already added a
I'd try it myself but didn't want to be too forward! Good luck! |
@MattSurabian I've added the line, but it doesn't seem to be working, even when I try "rake preview". This is bizarre. |
Have you tried just running 'jekyll serve --watch'? On Thu, Mar 27, 2014 at 3:22 PM, Will Sargent notifications@github.com
|
This seems like it might be an issue with Octopress, there are a old issues on the octopress github from people having trouble with dotfiles and octopress. Have you looked into the |
Ah, looks like the rake file excludes dot named directories: |
With Jekyll on GitHub Pages just add a file keybase.txt in your root and add the following header:
|
For those using Octopress who are having this issue, here is a fix. Create an empty file in your source directory called ".nojekyll":
Edit _config.yml and add this line:
Deploy as usual! The Octopress rake tasks build your site locally and just upload the resulting static files into your master branch. Then Github builds your site a second time. (The second build usually has no effect since Jekyll does nothing to regular static files.) Since Octopress does not include _config.yml in your master branch, Github does not see your |
adding |
@MattSurabian thanks bunch, worked like a charm! |
Without this patch the .well-known directory is not published because github-pages ignores directories starting with a dot. This issue is mentioned specifically at keybase/keybase-issues#366 This patch configures github-pages to publish the .well-known folder.
Note the changes to _config.yml which tell Octopress and GitHub to publish the .well-known directory. See also keybase/keybase-issues#366
Needed to add one of the supported keybase.io proof files as per [this comment](keybase/keybase-issues#366 (comment)).
thank you @hallettj this just solved a problem I was working on for hours! |
Is there a way to add this on html |
Thanks. I think the issue should be closed due to being solved. |
Adding a |
Trying to make available the .well-known directory in Github Pages. The idea comes from [this issue](keybase/keybase-issues#366)
Add front matter to keybase.txt to give it the permalink .well-known/keybase.txt as per the following comment: keybase/keybase-issues#366 (comment)
As found in keybase/keybase-issues#366
Hey guys!
I'm noticing a bit of an issue when trying to verify your website with Github pages. I use GH pages to run my domain's website, however it appears that pages doesn't serve folders starting with a period (eg,
.well-known
), so I'm unable to verify my domain.Anyone know of a workaround?
The text was updated successfully, but these errors were encountered: