NOTE: Use Ruby 1.8.x (something is broken with syntax highlighting in 1.9)
sudo gem install jekyll -V --no-ri --no-rdoc
sudo gem install rdiscount -V --no-ri --no-rdoc
- http://pypi.python.org/pypi/Pygments
- http://www.gnu.org/software/gsl/#downloading
- http://rb-gsl.rubyforge.org/ (doesn't compile with Ruby 1.9)
Check the configuration in _config.yml and from the main project directory, run:
$ jekyll
The generated site is built under _site
.
$ jekyll --server
Open in your browser: http://localhost:8000/
Make a new file under blog/_posts
. Copy the filename syntax and YAML content from another post. Then build the site. That's it!
The templates are in the _layouts
directory.
default.html
is the main template for all pagespost.html
is a template for the blog posts. It fits insidedefault.html
.
See:
There's no prohibition on performance.