Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Eliminates widows in your post titles by inserting a non-breaking space between the last two words of a title.

Notifications You must be signed in to change notification settings

john-henry/Statamic-Widont-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Statamic Widon't Plugin

Eliminates widows in your post titles by inserting a non-breaking space between the last two words of a title.

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>

Props to Shaun Inman for the original WordPress Widon't plugin
http://shauninman.com/archive/2006/08/22/widont_wordpress_plugin

About

Eliminates widows in your post titles by inserting a non-breaking space between the last two words of a title.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages