Compare commits

...

2 Commits

Author SHA1 Message Date
2c84c7cf0b
feat: open product card links in same tab 2025-08-06 22:13:47 +10:00
4f37370e8d
feat: raw html site description 2025-08-06 22:13:24 +10:00
5 changed files with 15 additions and 6 deletions

View File

@ -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

View File

@ -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", "") });

View File

@ -47,7 +47,10 @@
"options": ["Portrait", "Landscape", "Square", "Natural"],
"default": "Portrait"
},
"secondary_navigation": {
"secondary_navigation_title": {
"type": "text"
},
"site_description": {
"type": "text"
},
"footer_copyright": {

View File

@ -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>

View File

@ -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}}