mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-13 23:03:16 +02:00
Added show_slug to pages field.
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user