Compare commits
2 Commits
ca016828ac
...
2c84c7cf0b
Author | SHA1 | Date | |
---|---|---|---|
2c84c7cf0b | |||
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
|
||||
|
@ -59,4 +59,6 @@ reframe('.post-content iframe:not(.reframe-off)');
|
||||
!function(e,t){var n,i,r,s,a=.75*t.innerHeight;function d(){!i&&r.getBoundingClientRect().top-t.innerHeight<=a&&(removeEventListener("scroll",s),removeEventListener("resize",s),(n=e.createElement("script")).async=!0,n.src='https://'+disqus_id+'.disqus.com/embed.js',n.setAttribute("data-timestamp",+new Date),(e.head||e.body).appendChild(n),i=!0)}r&&(addEventListener("scroll",s),addEventListener("resize",s)),t.disqusLazy=function(n){var i,l,o,c;i=d,l=(n=n||{}).throttle||100,c=0,s=function(){var e=+new Date,t=l-(e-c),n=arguments;clearTimeout(o),t>0?o=setTimeout(function(){c=e,i.apply(null,n)},t):(c=e,i.apply(null,n))},r=n.element||e.getElementById("disqus_thread"),a=n.threashold||.75*t.innerHeight,r&&(addEventListener("scroll",s),addEventListener("resize",s))}}(document,window);
|
||||
|
||||
/* Custom settings for disqusLazy */
|
||||
!function(){document.querySelector(".disqus-lazy") && disqusLazy()}();
|
||||
!function(){document.querySelector(".disqus-lazy") && disqusLazy()}();
|
||||
|
||||
document.querySelectorAll(".kg-product-card a").forEach($a => { $a.setAttribute("target", ""); $a.setAttribute("rel", "") });
|
@ -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