Added show_slug to pages field.

This commit is contained in:
Andy Miller
2017-04-10 18:32:25 -06:00
parent 13ba6bfe11
commit b02f500cb8

View File

@@ -26,7 +26,12 @@
{% if field.show_fullpath %}
{{ page.route }}
{% else %}
{{indent|raw}} {{ page.menu }}
{{indent|raw}}
{% if field.show_slug %}
{{ page.slug }}
{% else %}
{{ page.menu }}
{% endif %}
{% endif %}
</option>
{% endif %}