feat: configurable secondary/footer nav title
This commit is contained in:
parent
eb50cb6bb0
commit
7a0373583c
@ -47,6 +47,9 @@
|
|||||||
"options": ["Portrait", "Landscape", "Square", "Natural"],
|
"options": ["Portrait", "Landscape", "Square", "Natural"],
|
||||||
"default": "Portrait"
|
"default": "Portrait"
|
||||||
},
|
},
|
||||||
|
"secondary_navigation": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
"footer_copyright": {
|
"footer_copyright": {
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{#if @site.secondary_navigation}}
|
{{#if @site.secondary_navigation}}
|
||||||
|
{{#if @custom.secondary_navigation}}{{/if}}
|
||||||
{{navigation type="secondary"}}
|
{{navigation type="secondary"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -33,7 +33,13 @@
|
|||||||
{{#foreach navigation limit="5"}}
|
{{#foreach navigation limit="5"}}
|
||||||
{{#if @first}}
|
{{#if @first}}
|
||||||
<div class="footer-nav-column">
|
<div class="footer-nav-column">
|
||||||
<small>{{t "Column 1"}}</small>
|
<small>
|
||||||
|
{{#if @custom.secondary_navigation}}
|
||||||
|
{{@custom.secondary_navigation}}
|
||||||
|
{{else}}
|
||||||
|
{{t "Column 1"}}
|
||||||
|
{{/if}}
|
||||||
|
</small>
|
||||||
<ul>
|
<ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li><a href="{{url absolute="true"}}">{{label}}</a></li>
|
<li><a href="{{url absolute="true"}}">{{label}}</a></li>
|
||||||
@ -46,7 +52,7 @@
|
|||||||
{{#foreach navigation limit="5" from="6"}}
|
{{#foreach navigation limit="5" from="6"}}
|
||||||
{{#if @first}}
|
{{#if @first}}
|
||||||
<div class="footer-nav-column">
|
<div class="footer-nav-column">
|
||||||
<small>{{t "Column 2"}}</small>
|
<small> </small>
|
||||||
<ul>
|
<ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li><a href="{{url absolute="true"}}">{{label}}</a></li>
|
<li><a href="{{url absolute="true"}}">{{label}}</a></li>
|
||||||
@ -59,7 +65,7 @@
|
|||||||
{{#foreach navigation from="11"}}
|
{{#foreach navigation from="11"}}
|
||||||
{{#if @first}}
|
{{#if @first}}
|
||||||
<div class="footer-nav-column">
|
<div class="footer-nav-column">
|
||||||
<small>{{t "Column 3"}}</small>
|
<small> </small>
|
||||||
<ul>
|
<ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li><a href="{{url absolute="true"}}">{{label}}</a></li>
|
<li><a href="{{url absolute="true"}}">{{label}}</a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user