feat: raw html site description
This commit is contained in:
parent
ca016828ac
commit
4f37370e8d
@ -4416,6 +4416,7 @@ textarea::placeholder {
|
||||
}
|
||||
|
||||
.footer-nav a:hover,
|
||||
.footer-description a:hover,
|
||||
.footer-copyright a:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 1px;
|
||||
@ -4542,7 +4543,6 @@ textarea::placeholder {
|
||||
.footer-copyright {
|
||||
font-size: 1.4rem;
|
||||
width: 100%;
|
||||
margin-top: 6vh;
|
||||
}
|
||||
|
||||
/* RWD — Footer
|
||||
|
@ -47,7 +47,10 @@
|
||||
"options": ["Portrait", "Landscape", "Square", "Natural"],
|
||||
"default": "Portrait"
|
||||
},
|
||||
"secondary_navigation": {
|
||||
"secondary_navigation_title": {
|
||||
"type": "text"
|
||||
},
|
||||
"site_description": {
|
||||
"type": "text"
|
||||
},
|
||||
"footer_copyright": {
|
||||
|
@ -6,9 +6,13 @@
|
||||
<div class="footer-logo">
|
||||
{{>logo}}
|
||||
</div>
|
||||
{{#if @custom.site_description}}
|
||||
<p class="footer-description">{{{@custom.site_description}}}</p>
|
||||
{{else}}
|
||||
{{#if @site.description}}
|
||||
<p class="footer-description">{{@site.description}}</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="footer-nav">
|
||||
<div class="footer-nav-column is-social">
|
||||
@ -24,7 +28,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
{{#if @site.secondary_navigation}}
|
||||
{{#if @custom.secondary_navigation}}{{/if}}
|
||||
{{#if @custom.secondary_navigation_title}}{{/if}}
|
||||
{{navigation type="secondary"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -34,8 +34,8 @@
|
||||
{{#if @first}}
|
||||
<div class="footer-nav-column">
|
||||
<small>
|
||||
{{#if @custom.secondary_navigation}}
|
||||
{{@custom.secondary_navigation}}
|
||||
{{#if @custom.secondary_navigation_title}}
|
||||
{{@custom.secondary_navigation_title}}
|
||||
{{else}}
|
||||
{{t "Column 1"}}
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user