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 for Our Site

79 pointsby AdesRover 13 years ago

7 comments

LeafStormover 13 years ago
I have never used Jekyll. I do, however, frequently use nanoc[1] - it takes a bit more effort to set up, but it is <i>far</i> more flexible, because instead of ridiculous configuration files, you are actually writing Ruby code (in a very nice DSL, might I add) that controls how each set of files is compiled.<p>One thing I did with it was create a Web site with recipes on it. The recipe files didn't have any actual content, everything was stored in the metadata. I had the Rules file set up so that they would run the Recipes through a layout that would expand them to HTML (<i>consistently</i>), then <i>that</i> was run through the normal page template.<p>It also used a preprocess rule to generate fresh items "on the fly" that serve as indices for each recipe type. Again, no content - the Rules file is set up so that the artificial items get all their content from a layout before being <i>actually</i> layouted with the site template.<p>[1]: <a href="http://nanoc.stoneship.org/" rel="nofollow">http://nanoc.stoneship.org/</a>
评论 #2993901 未加载
amirhhzover 13 years ago
Ever since I installed Wappalyzer in my browser (detects what frameworks and technologies a website uses) more and more often I come across websites that I am shocked use so many backend and frontend frameworks. I'm shocked because that means they are spending unnecessary amounts of money, time and effort on hosting (e.g. Wordpress hosting), development and maintenance when the entire site would be perfectly well-served (and faster!) with static pages.<p>The problem until recently was that there weren't appropriate tools for the job, but this article should prove that's now changing.
评论 #2993353 未加载
评论 #2993270 未加载
xalover 13 years ago
Powers the Shopify website as well by the way. Jekyll was a good fit since we made Liquid and are therefore really familiar with it.
评论 #2994764 未加载
mhdover 13 years ago
What I always found a bit annoying about jekyll (at least without plugin or forks) is that something like <a href="http://developmentseed.org/blog/2011/" rel="nofollow">http://developmentseed.org/blog/2011/</a> or <a href="http://developmentseed.org/blog/2011/09/" rel="nofollow">http://developmentseed.org/blog/2011/09/</a> doesn't work, i.e. the set of archive pages is pretty limited. You get one big one, and then a simple numeric pagination. I used some perl script ages ago (blosxom?), and it did just that.<p>Still, I guess I can hack that into the code somehow…<p>One "prepackaged" jekyll configuration that looks quite interesting is Octopress: <a href="http://octopress.org/" rel="nofollow">http://octopress.org/</a>
评论 #2992961 未加载
评论 #2992662 未加载
jordanlevover 13 years ago
If you're interesting in this, you should also check out Octopress, which sits on top of Jekyll and provides a nice default theme, handy addons (for google site search, disqus comments, twitter/facebook sharing, etc.), and deployment scripts.<p><a href="http://octopress.org/" rel="nofollow">http://octopress.org/</a>
评论 #2993059 未加载
AdesRover 13 years ago
the maps on the site are designed in [tilemill](<a href="http://tilemill.com/pages/index.html" rel="nofollow">http://tilemill.com/pages/index.html</a>), and served by [tilestream](<a href="http://mapbox.com/#/tilestream" rel="nofollow">http://mapbox.com/#/tilestream</a>), btw.
sramovover 13 years ago
Excellent execution, custom YAML fields allow for a lot of options.<p>I do the same, except I host at NearlyFreeSpeech.NET, which just feels right.