This is my web book! Gianluca Casati writes here :)
The domain for this site is g14n.info registered on namecheap; thanks to CloudFlare it is a naked domain and has SSL: both http and https schemes are available.
It is highly recommended to install Jekyll to preview your site and avoid build errors before publishing it.
Instructions work great on a Codio box like this.
- Create a Gemfile with the following content
source 'https://rubygems.org'
gem 'github-pages'
- Add these lines to your .gitignore
_site/
.codio
Gemfile*
- Install bundler
gem install bundler
- Install dependencies
bundle install
See Using Jekyll with Pages as a reference.
Test content generation running
jekyll serve --watch
Static content is served here.
Inspired by Tom Preston's article documentation about my projects is contained in their README.md file.
Get repo foo.
$ mkdir -p _projects/_repos/foo
$ git clone https://github.com/fibo/foo _projects/_repos/foo
Store YAML front matter in a separate homonym .yaml file, which is ignored by Jekyll.
---
title: foo
layout: project
---
Concatenate README.md and its YAML front matter into foo/index.md
cat _projects/foo/index.yaml _projects/_repos/foo/README.md >> _projects/foo/index.md