In my original post, I outlined usage of Rack to configure Pow to serve the static files generated by Jekyll. It turns out this isn’t really needed — Pow ships with support for serving static files, eliminating most of what the Rack approach offers.
Most? What’s missing? So far, the only thing I’ve noticed that doesn’t work
is 404 pages. I don’t really need these in development, just being able to
404.html in a browser to work on the page itself is enough.
What does my setup look like now?
source "https://rubygems.org" gem "github-pages"
Pow setup — the key here is manually creating the directory under
the symlinking a
public directory to the
_site directory that Jekyll
mkdir -p ~/.pow/myblog ~/work/myblog/_site ln -s ~/work/myblog/_site ~/.pow/myblog/public
Build the blog:
And open in your browser: