Octopress Bootstrap theme for Diaspora sites
This a theme I tweaked heavily to work as add-on static pages to be generated by Octopress and added to the "public" directory of any Diaspora pod. This is usefull if you wish to create themed ToS, Privacy, About, and other blog pages to be linked from the landing page of your Diaspora pod. If you wish to see this theme in action please visit the pages linked in the navbar of this Diaspora pod hosted at https://hfase.com or directly at https://hfase.com/blog/
I have done a lot of work on this to optomise it for HTTPS usage. All the features of Octopress should be usable with this "theme" with no insecure elements.
Adding this theme to your Octopress/Diaspora is very easy, just use the following commands from the root-directory of your Octopress repo. (for Diaspora folow the footnotes.) If you are using this for Octopress you need to move the "/blog/index.html" file to "/" as this is not designed to generate a root index page. (Diaspora generates it's own root index page "landing page" I have wrote instructions for that here; Diaspora landing page )
git submodule add firstname.lastname@example.org:hfase01/octopress-diaspora-theme.git .themes/bootstrap
Install the theme;
Update the theme if needed;
cd .themes/bootstrap && git pull
To use this with Disapora or Octopress the instructions above are the same.
To add Octopress to Diaspora just include this group in your "Gemfile",
group :octopress do gem 'jekyll', '~> 0.11.2' gem 'rdiscount', '~> 1.6.8' gem 'pygments.rb', '~> 0.2.12' gem 'RedCloth', '~> 4.2.9' gem 'rubypants', '~> 0.2.0' gem 'rb-fsevent', '~> 0.9' gem 'stringex', '~> 1.4.0' gem 'liquid', '~> 2.3.0' gem 'sinatra', '~> 1.3.2' end
You will then need two other things. The "./plugins/" directory & "_config.yml" from octopress, and the "Rakefile" I have tweaked and linked below. This is a working Rakefile, so replace yours with it, do not add it to what you have. https://github.com/hfase01/diaspora/blob/HFASE/Rakefile
You may also need to edit a few things I have not yet un-hard-coded. :)