mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Change property name
This commit is contained in:
parent
c64bd3a121
commit
82c2d981aa
3 changed files with 3 additions and 3 deletions
|
@ -181,7 +181,7 @@ form:
|
|||
icon: bars
|
||||
title: 'Custom Menu Items'
|
||||
fields:
|
||||
displaycustommenus.enabled:
|
||||
custommenus.enabled:
|
||||
type: toggle
|
||||
label: 'Display Custom Menu Items'
|
||||
help: 'Determines if any defined custom menu entries are displayed in the menubar.'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<ul>
|
||||
{{ macros.nav_loop(pages) }}
|
||||
|
||||
{% if theme_var('displaycustommenus.enabled') %}
|
||||
{% if theme_var('custommenus.enabled') %}
|
||||
{% for mitem in theme_var('custommenu') %}
|
||||
<li>
|
||||
<a href="{{ mitem.url }}" target="{{ mitem.target }}">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{% endmacro %}
|
||||
<ul class="menulink">
|
||||
{{ _self.loop(pages) }}
|
||||
{% if theme_var('displaycustommenus.enabled') %}
|
||||
{% if theme_var('custommenus.enabled') %}
|
||||
{% for mitem in theme_var('custommenu') %}
|
||||
<li>
|
||||
<a href="{{ mitem.url }}" target="{{ mitem.target }}">
|
||||
|
|
Loading…
Add table
Reference in a new issue