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