This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Series List Tag | |
# | |
# The original plugin was created by R.J. Lorimer and is available here: | |
# https://github.com/realjenius/site-samples/blob/master/2012-11-04-jekyll-series-list-2/series_tag.rb | |
# | |
# The modifications include: | |
# - Using a data file (series.yml) to add more detail to the series | |
# - Modified the output of the tag to look the way I wanted it to | |
module Jekyll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following task was adapted from one written by Shane Burkhart | |
# Source: http://www.shaneburkhart.me/2013/12/07/rake-task-to-publish-drafts-in-jekyll.html | |
desc "Publish draft posts and update the date field" | |
task :publish, [:file] do |t, args| | |
require "time" | |
if args[:file] | |
file = "_drafts/#{args[:file]}" | |
text = File.read(file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Category Links Filter | |
# | |
# The original plugin was created by Dave Perrett and is available here: | |
# http://recursive-design.com/projects/jekyll-plugins/ | |
# | |
# The modifications include: | |
# - Removing category page generation classes completely | |
# - Modified the category_dir function to only use the first word in | |
# multiword categories and to link them together to create the path | |
# - Modified the category_links function to use titlecase for the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Flickr Photoset Tag | |
# | |
# The original plugin was created by Jeremy Benoist and is available here: | |
# https://github.com/j0k3r/jekyll-flickr-photoset | |
# | |
# The modifications include: | |
# - a link to the original, full size image as well as the Flickr | |
# Page for each image in the set; | |
# - the ability to specifiy a class for the gallery list in the tag | |
# i.e. {% flickr_photoset 72157624158475427 small_gallery %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modified Flickr Image Tag Plugin | |
# | |
# The original plugin was created by Daniel Reszka and is available here: | |
# https://gist.github.com/danielres/3156265/ | |
# | |
# The modifications include: | |
# - a link to the original, full size image as well as the Flickr Page for the image; | |
# - and the ability to specify an image class in the tag | |
# i.e. {% flickr_image 7614906062 alignright %}. | |