Change name of variable to DISABLE_URL_HASH

This commit is contained in:
Dmytro Litvinov 2017-02-23 17:36:45 +02:00
parent 1182fbced4
commit 3d3f10d8c2
2 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@
{% set PAGES_SORT_ATTRIBUTE = 'title' %}
{%- endif %}
{% for page in pages|sort(attribute=PAGES_SORT_ATTRIBUTE) %}
<li><a href="{{ SITEURL }}/{{ page.url }}{% if not DISABLE_HASH_URL %}#{{ page.slug }}{% endif %}">{{ page.title }}</a></li>
<li><a href="{{ SITEURL }}/{{ page.url }}{% if not DISABLE_URL_HASH %}#{{ page.slug }}{% endif %}">{{ page.title }}</a></li>
{% endfor %}
{% for name, link in LINKS %}