Posts in category jekyll - page 2 of 4

AutoPage Category jekyll Page 2 of 4

This page is automagically created and paginated for each category available in the posts on this site

Jekyll: Writing a Jekyll::Generator

There is annoying little documentation about writing a generator for Jekyll, particularly since when searching for examples, there is so much noise in form of hits for "static site generator." Two decent examples are from Ricardo Lopes and Starr Horne of Honeybadger.

Starting at the beginning, you want to be putting my_generator.rb in _plugins/ in the root directory of your Jekyll site directory.

For an absolute "Hello, World" we can do:

class Generator < Jekyll::Generator
  def generate(site)
    puts "Hello, World!"
  end
end
which prints out to the terminal when you bundle exec jekyll serve. Look for it after Generating...

Read more

Hacking Emacs for Jekyll Stuff

I am very fortunate that my sweetie can hack Emacs for me. Oh, sure, I could learn elisp and do it for myself, but the time it would take to level up my proficiency... I take the easy way out. (๑´ㅂ`๑ )

Read more

Subscribe to the jekyll category

Subscribe to this blog