TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using Jekyll and GitHub Pages

86 pointsby pulkitsh1234over 7 years ago

13 comments

geraldbauerover 7 years ago
FYI: You can find more than 200+ (free, open source) ready-to-fork (use) Jekyll themes on Dr Jekyll&#x27;s [1]. PS: Dr Jekyll&#x27;s itself is an (open source) Jekyll site on GitHub Pages. Happy Jekylling. [1] <a href="https:&#x2F;&#x2F;drjekyllthemes.github.io" rel="nofollow">https:&#x2F;&#x2F;drjekyllthemes.github.io</a>
robinwassenover 7 years ago
Last time I tried GitHub Pages it got stuck in cache for several hours, could not get the article to update.<p>So switched to Netlify (<a href="https:&#x2F;&#x2F;www.netlify.com" rel="nofollow">https:&#x2F;&#x2F;www.netlify.com</a>) which took about 15 minutes to setup for Jekylll, custom domain and SSL. Was a relief to be in control again.
评论 #15356066 未加载
评论 #15357480 未加载
评论 #15362057 未加载
评论 #15355860 未加载
评论 #15355626 未加载
wazanatorover 7 years ago
For anyone looking to learn how to use Jekyll Cloud Cannon[1] has a really well made set of tutorials and some nice looking free themes.<p>Personally I would skip GitHub and just put it up on a cheap vps, you can set it up to auto compile on a git push like GitHub as well. [2]<p>[1]<a href="https:&#x2F;&#x2F;learn.cloudcannon.com" rel="nofollow">https:&#x2F;&#x2F;learn.cloudcannon.com</a> [2]<a href="https:&#x2F;&#x2F;www.digitalocean.com&#x2F;community&#x2F;tutorials&#x2F;how-to-set-up-a-jekyll-development-site-on-ubuntu-16-04" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;community&#x2F;tutorials&#x2F;how-to-set-...</a>
JetSpiegelover 7 years ago
Instead of committing generated HTML to a git repo, you could use GitLab Pages and use any static site generator and run any custom scripts you like. They run commands on a container, you are not restricted to the blessed GitHub choices.
评论 #15355867 未加载
_asummersover 7 years ago
I&#x27;ve started playing around with using Firebase to host static sites. The free tier is pretty generous, and I won&#x27;t exceed any of those restrictions anytime soon. SSL by default, custom domains, etc. are pretty nice. It&#x27;s a Google product now, so do with that what you will, but setup was really straightforward.
评论 #15356672 未加载
评论 #15357342 未加载
评论 #15356847 未加载
siegecraftover 7 years ago
Unless Jekyll has changed a lot, using themes is a major pain. Since Jekyll doesn&#x27;t enforce any particular structure, there&#x27;s no way to have drop-in themes. Using a new theme is really about cloning a theme and then re-writing your site to hopefully make use of it. Or pick at bits and pieces you like and make your own custom theme.
hobarreraover 7 years ago
I&#x27;m amazed there&#x27;s no mention of GitLab&#x27;s Pages. They seem to be quite superior in this aspect.<p>You can just configure CI to run any arbitrary script(s), and publish the resulting files. This also includes Jekyll (which is trivial to set up), but also other much complex scenarios.
a9t9over 7 years ago
Another Jekyll advantage: Jekyll it makes it easy to host a blog under your main domain.com&#x2F;blog, without the need to use a subdomain, without the need to fiddle with Wordpress and without the need to switch your whole website to a (new) CMS. This is a huge timesaver (We use it at <a href="https:&#x2F;&#x2F;a9t9.com&#x2F;blog" rel="nofollow">https:&#x2F;&#x2F;a9t9.com&#x2F;blog</a> and a very happy with it.)<p>According to the SEO Guru(s), this brings a SEO advantage <a href="https:&#x2F;&#x2F;moz.com&#x2F;community&#x2F;q&#x2F;moz-s-official-stance-on-subdomain-vs-subfolder-does-it-need-updating" rel="nofollow">https:&#x2F;&#x2F;moz.com&#x2F;community&#x2F;q&#x2F;moz-s-official-stance-on-subdoma...</a>
edemover 7 years ago
I don&#x27;t see why this is a problem. I don&#x27;t use themes at all and I have my own look and feel. If you check the docs you will see that overriding the default theme is oretty straightforward.
chrsstrmover 7 years ago
Unless I&#x27;m mistaken, it seems the author missed this short paragraph in the docs:<p><i>With a clear understanding of the theme’s files, you can now override any theme file by creating a similarly named file in your Jekyll site directory.</i><p>So the gem is the base theme and you overwrite any of those theme files by inserting a same-named file in the same dir structure in your project root. I&#x27;ve haven&#x27;t jumped to Jekyll 3 yet but if I&#x27;m reading this correctly, this doesn&#x27;t seem like that big of a deal.
评论 #15355885 未加载
spinningarrowover 7 years ago
&gt; I have seen some repositories where people have written Travis jobs to do this exact thing. I feel that is an overkill, a slow process and downright exploitation of a free service<p>Is the “exploitation of a free service” part valid?
评论 #15357182 未加载
AdrianRossouwover 7 years ago
part of the point of jekyll to me is being in control of all the markup on the page, which is why the idea of using a theme goes against how I would use it.
enriqutoover 7 years ago
I never understood the purpose of those &quot;static page generators&quot;. The only thing they really do is add a html header to your text? Honestly, for all that hassle I prefer to copy-paste manually a few lines of html every time that I write a new file, and that&#x27;s it.
评论 #15355803 未加载
评论 #15357131 未加载
评论 #15355745 未加载
评论 #15355733 未加载
评论 #15362167 未加载