Mark Trapp

Jekyll Sort Tag

This is a really simple plugin for Jekyll that provides a {% sort %} Liquid tag to compliment Liquid's built-in sort filter.

Installation

This plugin is provided as a gem:

gem install jekyll-itafroma-sort_tag

Once the gem is installed, include it in your Jekyll site's configuration:

gems: ['jekyll/itafroma/sort_tag']

Usage

Wrap the output you’d like to sort with the tag:

{% sort %}
Barbara
Alice
Christine
{% endsort %}

Copyright and license

This plugin is copyright © 2013 Mark Trapp. All rights reserved. It is made available via the MIT license. A copy of the license can be found in the LICENSE file.

Related links


Comments and feedback are welcome and appreciated. Need help on your next project? Let's talk.