Skip to content

Instantly share code, notes, and snippets.

@teiko
teiko / Or this one ?
Created May 12, 2012 13:45 — forked from pkazmierczak/jekyll-create-tag-pages-rakefile.rb
This fork works for 'tags', not 'categories'.
desc 'Generate tags pages'
task :tags => :tag_cloud do
puts "Generating tags..."
require 'rubygems'
require 'jekyll'
include Jekyll::Filters
options = Jekyll.configuration({})
site = Jekyll::Site.new(options)
site.read_posts('')
@teiko
teiko / debbugs.rb
Created April 22, 2012 16:29 — forked from andrewshadura/debbugs.rb
Jekyll plugin that allows posting links to Debian BTS.
# A Liquid tag for Jekyll sites that allows posting links to Debian BTS.
# by: Andrew Shadura
#
# Example usage: {% bts 123456 %} //adds a link to a bug #123456
#
# Or, you can just use debian/changelog format, like closes: #123456
# Launchpad bugs are also supported.
require 'cgi'
require './plugins/post_filters'