-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Archives not working on github-pages #974
Comments
The Jekyll Archives method won't work on GitHub Pages hosted sites because that plugin isn't whitelisted for use so you need to go with the Liquid method. No idea what the "Github pages is down for maintenance" error is all about. I'd reach out to support since I'm pretty sure it has nothing to do with the theme or Jekyll. That error occurs for every page, asset (JS, CSS, etc). and as you noted resolves itself after a reload. |
Thanks for your response. |
You're missing the category archive page, that's why it's 404'ing. Add it to your root similar to |
Oh, that was a silly mistake. It works now, Thanks. And it turns out that "Github pages is down for maintenance" error is also gone (probably it was due to usage of |
* Add toc heading custom include Closes mmistakes#961. * Revert "Add toc heading custom include" This reverts commit 49813c341973e313db0a21f075a60ebf2120989e. * Update code highlighting with line numbers - Add the example of code highlighting with line numbers explained in the [Jekyll docs](https://jekyllrb.com/docs/liquid/tags/#line-numbers). - Fix the styling of narrow code with line numbers, which floats to the centre without this CSS adjustment. (The line numbers column expands as needed with larger numbers of lines, despite using `width`; using `min-width` doesn't work.) To apply HTML compression, I removed `vendor` from `exclude`; that change is left to a different PR.
I'm trying to add archives to my blog following the instructions at https://mmistakes.github.io/minimal-mistakes/docs/configuration/ but couldn't get them working in github-pages with either of
liquid
andjekyll-archives
.Some of my findings:
tags work as expected locally, but on gh-pages I get random error
Github pages is down for maintainence
which disappears after I reload.categories show the error:
/categories/ not found
locallyand
404 not found error
on gh-pagesjekyll-archive
for bothBoth work fine locally, but on github-pages I get the
404 not found error
for both of them.Here's my _config.yml https://github.com/satwikkansal/satwikkansal.github.io/blob/master/_config.yml, and http://blog.satwikkansal.xyz is where the site is deployed.
The text was updated successfully, but these errors were encountered: