Skip to content

Dirigible/Statamic-Fancy-Ampersands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Statamic-Fancy-Ampersands

Turn those boring old ampersands into the stunning conjunctions of your dreams. A plugin for Statamic (v1).


Usage

Pipe Fancy Amps into your variable like any other modifier: {{ content|fancyamps }}

Fancy Amps takes any space-padded ampersand in your output and replaces it with <span class="fancyamp">&amp;</span>. (The padding spaces remain intact.)

Add the following CSS into your site's theme and you so fancy.

.fancyamp { color: inherit; font-size: inherit; font-family: Baskerville, Palatino, "Palatino Linotype", "Book Antiqua", "Constantia", serif; font-style:italic; }

Don't like the look of Baskerville's &? See Use the Best Available Ampersand for more suggestions.

About

Turn those boring old ampersands into the stunning conjunctions of your dreams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages