mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
Merge pull request #489 from alex-ross/patch-1
Fixes syntax error in documentation for unless tag
This commit is contained in:
committed by
Florian Weingarten
parent
8c193e203f
commit
291b58bc91
@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + '/if'
|
|||||||
module Liquid
|
module Liquid
|
||||||
# Unless is a conditional just like 'if' but works on the inverse logic.
|
# Unless is a conditional just like 'if' but works on the inverse logic.
|
||||||
#
|
#
|
||||||
# {% unless x < 0 %} x is greater than zero {% end %}
|
# {% unless x < 0 %} x is greater than zero {% endunless %}
|
||||||
#
|
#
|
||||||
class Unless < If
|
class Unless < If
|
||||||
def render(context)
|
def render(context)
|
||||||
|
|||||||
Reference in New Issue
Block a user