Commits

David Chambers  committed e4f1a8e

Replaced `ifnotequal` with `if` and `!=`.

  • Participants
  • Parent commits 7da257d

Comments (0)

Files changed (1)

File templates/document.dhtml

                     <footer class="metadata">{% if document.author or short != canon %}
                         <ul>{% if document.author %}{% if document.author.url %}
                             <li class="author"><a href="{{ document.author.url }}">{{ document.author.name }}</a></li>{% else %}
-                            <li class="author">{{ document.author.name }}</li>{% endif %}{% endif %}{% ifnotequal short canon %}
-                            <li class="shorturl"><a href="{{ short }}">Short URL</a></li>{% endifnotequal %}
+                            <li class="author">{{ document.author.name }}</li>{% endif %}{% endif %}{% if short != canon %}
+                            <li class="shorturl"><a href="{{ short }}">Short URL</a></li>{% endif %}
                         </ul>{% endif %}{% if document.tags %}
                         <h4>This {{ document.type }} has the following tags:</h4>
                         <ol>{% for tag in document.tags %}