I’m in the process of moving my blog from self-hosted WordPress to (GitHub-pages powered) Octopress.
Thus far, I have successfully set up & copied my blog over to myusername.github.com, which has the CNAME http://mydomain.com. (So, browsing http://mydomain.com shows my Octopress blog. Dandy.)
I would like to modify my setup so that things are as follows:
http://mydomain.com→ Simple html landing pagehttp://mydomain.com/blog→ Octopress blog, in all its gloryhttp://mydomain.com/sdf→ Miscelaneous other simple html sites that I would like to hosthttp://mydomain.com/sdfsdfdsf-> As above- … (an arbitrary number of other root-level sites)
However…I would like my landing page (and other misc sites) to be hosted from the GitHub-pages repo, and the source stored alongside Octopress.
Ideally, «octopress»/source/ would look like this:
«octopress»/source/index.html→ My landing page«octopress»/source/blog/*→ Normal Octopress source folder (contains_posts,assets,_layouts, etc.)«octopress»/source/sdf/index.html→ Other misc sites
Thus far, I have found instructions about how to deploy Octopress to a subdirectory. But as far as I can tell, these instructions don’t allow you to have other misc sites under «octopress»/source/.
I would love suggestions about how to accomplish what I’m after. I have a feeling it won’t be hard (just tweaks to some Jekyll files somewhere, perhaps).
Many thanks,
If you are running Jekyll locally rather than using the version on the github server, you don’t need to do everything within Jekyll – simply have a shell script move some folders around between the generate and deploy steps.
After Jekyll runs, everything is static files, and the deployment step is just committing and pushing whatever happens to be in the output folder at that point.