Created
January 25, 2016 23:50
-
-
Save joeldrapper/9226a20b285070fc8079 to your computer and use it in GitHub Desktop.
Widowfix for Shopify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign words = widowfix | split: ' ' %} | |
{% for word in words %}{% if forloop.first %}{{word}}{% elsif forloop.last %} {{word}}{% else %} {{word}}{% endif %}{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment