3 ms·
I love (and host my blog on) Pages, but really can't stand Jekyll. The template language, Liquid, is incredibly restrictive because GitHub wants to sandbox you
by nilved 13y ago
I love (and host my blog on) Pages, but really can't stand Jekyll. The template language, Liquid, is incredibly restrictive because GitHub wants to sandbox you. I would suggest using nanoc, Middleman, Stasis or similar and compiling it locally. I myself use a hacked Rails app that spits out static HTML.[1]
Keep in mind that you also don't control things like HTTP headers, which are very important for a static site. You want to cache assets forever, pages for a while; and you probably want to fine-tune your gzip settings or precompile gzip files as part of your compile process. These things are possible with your own server and AWS but not Pages. Its benefits are simplicity and cost, but they come at the cost of power and performance.
[1]: https://github.com/devlinzed/devlinzed.com https://github.com/devlinzed/devlinzed.com
- bobfunk 13y agoCheck out my startup BitBalloon (https://www.bitballoon.com https://www.bitballoon.com) - as simple (or simpler) as GH pages, but with all the right caching headers set out of the box and built-in gzipping and image compression.