Statamic Widon't Plugin

This plugin is for the Statamic CMS and ultimately eliminates widows in your post titles by inserting a non-breaking space between the last two words of a title.

Download v.1.0 from github

Installing

  1. Download the zip file (or clone via git) and unzip it or clone the repo into /_add-ons/.
  2. Ensure the folder name is widont (Github timestamps the download folder).

Usage

Wrap any text variable in the widont tag pair

<h1>{{ widont }}{{ title }}{{ /widont }}</h1>   

This plugin is based on Shaun Inman’s original plugin for WordPress
http://shauninman.com/archive/2006/08/22/widont_wordpress_plugin