-
Notifications
You must be signed in to change notification settings - Fork 45
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
Using with Github Pages #2
Comments
Hey @psprint I'm not sure I totally understood your question, icon-github.html should be in the _includes folder. Though, it might not work with Github Pages because the page that uses it, Is there a full Github Pages error output you would be willing to post? Currently, jekyll-assets is not supported by github pages though there is discussion around adding it to the list of supported plugins here I don't believe the two other plugins, Jekyll-React and the Jekyll_pages_api are supported by Github Pages, either.
A workaround to Github Pages not supporting these three plugins would be to simply run Everything outside of I've done a setup like this here: https://github.com/InsidiousMind/insidiousmind.github.io Just make sure to put '.nojekyll' in the repository to let Github Pages know you don't want it to run through Jekyll. This way, you are able to use any plugins you want. Alternatively, you can use a setup like this with CircleCI: Or this: There are a bunch of articles talking about how to get around this on the internet, too, so if one method doesn't work for you if you search around you will surely come across another. Hope that helps, |
Thanks, I'm going for serving PS. Turned out that PS2. I used http instead of https and hence the error. Now the page works! PS3. The error message in the Github email was very superficial. |
Also, I cannot see posts, and debugger shows: http://imgur.com/a/anyoJ |
Hm, OK. Can I see the Github Repository where you are trying to do this by any chance? There is no reason to call Have you tried building with Also, if you are not developing on localhost:4000 you can go into _config.yml and change the url's there to wherever you are deploying, as well as the I'm kind of guessing at your problem here, but if you share your repository with me I could pinpoint better where it's going wrong. |
The repo is: Good to know about I build with https://github.com/zdharma/zdharma.github.io/blob/devel/script/build_html I develop on localhost:4000, had to add a perl-replace for bundle.js: zdharma/zdharma.github.io@11e9eff Locally the page works. Remotely there was that 404 which is now being solved. |
PS. There is a minor problem – first word of post isn't present in summary (post's box on title page), but is present at full view: |
OK, going to your webpage it seems the 404 is solved and it's mostly working now (at least, I am not getting any errors in the Console), I think. Correct me if I am wrong :) I will get the problem with the first word of the post being missing solved ASAP, totally slipped me by. BTW, I am totally on-board with all the ZSH projects -- definitely my favorite shell. EDIT: |
@psprint OK so yes, changing all urls from Here are some resources I found about https in github: I tested https with my own site using this theme here: I am not sure however if |
Yes the page is working. Thanks for the theme, it's exceptional. The HTTPS/HTTP problem seems to be solved by use of HTTP links because Github quite enforces HTTP when using a custom domain. The 404 before was most probably caused by removal of "CNAME" file that Github automatically commits, because I did the automatic html committing via "build_html" script. Maybe you will know why highlighting can break on the about.md page? A specific part of Zsh code causes this. I've commited that to http://zdharma.org/about/ page, a reload might be needed. |
Thanks! The code highlighting on the about.md page breaks because of the order in which my plugin/Jekyll renders the markdown page (I thought it was OK). It seems the indentation of that particular code snippet breaks it. If you remove the indent the highlighting works. Another possibility is the particular syntax highlighter being used. Switching to another highlighter might fix it. Clearly this isn't desired behavior, so I will get both these problems fixed and tested very soon. Thanks for reporting in. The theme is still under some minor development, so I appreciate the cooperation. |
I count on fixes, Material/React is very difficult. I've tried to use icon for "Read more" button. Want to put this image as the button: http://vignette1.wikia.nocookie.net/lostpedia/images/6/60/Hieroglyphs.JPG I have a better one that is a rectangle. Cannot accomplish this, FontIcon and SVGIcon seem to dominate Material UI. PS. Search has a problem: entering query yields result, then deleting the query doesn't restore "all posts shown" state. |
I've found code responsible for first word skipping: const createMarkup = (post) => {
let body = post.body.split(' ');
- body = body.slice(1, 50);
+ body = body.slice(0, 50);
body = body.join(' ');
return `${body}...`;
}; |
Hey! thanks for finding that. I pushed a fix for the first word in the summaries along with a fix for the search not resetting without any queries. About trying to get custom Read More --> You can either convert your icon/img to SVG and use SVGicon: http://www.material-ui.com/#/components/svg-icon You would probably want to store the icon itself in a separate file because depending on what kind of image it is, svg files from converted images can get rather cumbersome and long. OR you can use regular tag (Although, that won't have the benefit of being able to apply the animations/interactions as with a regular Material UI Component). Any regular HTML will work in JSX/React as well, so you don't have to use the MuI FontIcon/SVGIcon |
Managed to get the button via PS. One more question – the subscribe, you handle it via external dynamic (say CGI) page? I should create such page for myself and change the code / URL? |
Awesome! yeah, you could do that. I just use mailchimp, and have the subscribe link and stuff. Maybe in a future update I will add that as an option to the frontmatter in _config.yml, might be annoying to go into the footer/newsletter component and change that whenever it needs to be changed |
I've created mailchimp account, went to the signup forms, copied form-internal-data from "Embedded Forms". When testing the subscription, I get the normal new page at mailchimp, with message about confirmation email. My address and company name are correct. However I don't obtain the confirmation emails at all. Have you occurred this? PS. Ah, sending email as from "protonmail" causes gmail spam filter to be active |
Hello
I'm trying to use the theme with Github Pages. Are there any advice for doing this? The site doesn't build because it cannot find
icon-github.html
(automatic mail from Github). I've commitedasseds/js
etc. – things that are build by node. Locallybundle exec jekyll serve
works, but plainjekyll serve
fails atgem 'jekyll-assets'. (Bundler::GemRequireError)
. I didgem install jekyll-assets
(OS X).The text was updated successfully, but these errors were encountered: