smilify is a Liquid filter to transform text
emoticons into smileys.
It can be easily plugged in to your existing Jekyll powered content to bring
all your text emoticons to life.
Take a look at my blog: http://saswatpadhi.github.com/, powered by smilify
You can also read my post about it.
To use smilify in your existing Jekyll powered website,
- Copy required files
- Copy the content of
pluginsfolder to the_pluginsorpluginsfolder as per your configuration.
[ Learn more about_pluginsfolder here: https://github.com/mojombo/jekyll/wiki/Plugins ] - Copy the contents of
source/imagesto theimagesfolder in the root folder of your blog source.
[ Learn more aboutsourcefolder here: https://github.com/mojombo/jekyll/wiki/Configuration ] - Copy the contents of
source/_includeto the_includefolder.
[ Learn more about_includefolder here: https://github.com/mojombo/jekyll/wiki/Configuration ]
- Choose a smiley theme
-
smilifycomes with 3 smiley packs, assembled from various sources.
To use a particula smiley pack in your website, you just have to add one line to your_config.yml:smileytheme: MSN # Use the MSN smiley theme
- Apply the filter in your Liquid templates
- For
smilifyto detect and smilify your text emoticons, your content must be passed through thesmilifyfilter.
How and where you apply the filter would depend on thw way you have organised your Liquid template, but for most people, changing_post.htmland_page.htmlin the_layoutsfolder should just work.
If you have something like{{ content }}somewhere in your layout, just pipe it throughsmilify, like:{{ content | smilify }}
Please refer to Smiley-Packs wiki page.
Copyright © 2012 Saswat Padhi under MIT License
[Please Refer included LICENSE
file for more information]
smiley images are owned by their respective creators.