Rinkusu/layouts/partials/footer.html

104 lines
4.4 KiB
HTML
Raw Permalink Normal View History

2021-04-29 17:17:19 +00:00
{{ "<!-- Footer -->" | safeHTML }}
<footer id="footer" class="section-bg">
<div class="container">
<div class="row wow fadeInUp" data-wow-duration="500ms">
<div class="col-xl-12">
2021-05-27 10:53:45 +00:00
<div class="row">
{{ "<!-- Social Links -->" | safeHTML }}
2022-02-18 20:15:18 +00:00
<div class="social-icon text-center col-sm">
2021-09-14 12:52:51 +00:00
<h2> Social Media</h2>
2021-05-27 10:53:45 +00:00
<ul class="list-inline">
{{ range site.Params.social }}
<li class="list-inline-item">
<a href="{{ .link | safeHTML }}">
<i class="{{ .icon }}">
{{ if .img }}
<img class="social-icon social-icon-img" src="{{ .img }}">
{{ end }}
</i>
</a>
</li>
{{ end }}
</ul>
2021-05-27 08:34:09 +00:00
</div>
2021-05-27 10:53:45 +00:00
{{ if site.Params.sketchfab.enable }}
{{ "<!-- Social Sketchfab Link -->" | safeHTML }}
2022-02-18 20:15:18 +00:00
<div class="social-icon text-center col-sm">
2021-05-27 10:53:45 +00:00
<h2>{{ site.Params.sketchfab.text | markdownify }}</h2>
<a href="{{ site.Params.sketchfab.link | safeHTML }}" class="social-icon-a">
2021-05-27 12:19:47 +00:00
<img class="social-icon-img" src="{{ site.Params.sketchfab.img | absURL }}">
2021-05-27 10:53:45 +00:00
</a>
</div>
2021-05-27 10:53:45 +00:00
{{ end }}
2022-07-18 18:53:13 +00:00
{{ if site.Params.itchio.enable }}
{{ "<!-- Social Sketchfab Link -->" | safeHTML }}
<div class="social-icon text-center col-sm">
<h2>{{ site.Params.itchio.text | markdownify }}</h2>
<a href="{{ site.Params.itchio.link | safeHTML }}" class="social-icon-a">
<img class="social-icon-img" src="{{ site.Params.itchio.img | absURL }}">
</a>
</div>
{{ end }}
2021-05-27 10:53:45 +00:00
</div>
2021-07-20 18:17:52 +00:00
2022-10-14 14:10:28 +00:00
<div class="border-Rinkusu" style="background: #0f1e31;"></div>
2021-07-20 18:17:52 +00:00
2021-04-29 17:17:19 +00:00
{{ "<!-- Copyright -->" | safeHTML }}
<div class="copyright text-center">
<a href="{{ site.Home.Permalink }}">
2021-05-27 12:19:47 +00:00
<img src="{{ site.Params.logo | absURL }}" height="128">
2021-04-29 17:17:19 +00:00
</a>
<br>
<p>{{ site.Params.copyright | markdownify }}</p>
2021-12-07 10:42:42 +00:00
{{ if site.Params.license }}
<p class="license">{{ site.Params.license | markdownify }}</p>
{{ end }}
2021-04-29 17:17:19 +00:00
</div>
</div>
</div>
</div>
</footer>
{{ "<!-- /Footer -->" | safeHTML }}
{{ "<!-- JS Plugins -->" | safeHTML }}
{{ range site.Params.plugins.js }}
<script src="{{ .link | absURL }}"></script>
{{ end }}
{{ if site.Params.map.enable }}
{{ "<!-- Google Map API -->" | safeHTML }}
<script src="{{ site.Params.map.gmap_api | safeURL }}"></script>
{{ end }}
2021-05-27 12:05:19 +00:00
2021-09-14 10:47:19 +00:00
{{ "<!-- Main Script --> " | safeHTML }}
{{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384" }}
2023-02-27 09:20:59 +00:00
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}" crossorigin="anonymous"></script>
2021-09-14 10:47:19 +00:00
2021-05-27 12:05:19 +00:00
{{ if site.Params.cookies.enable }}
{{ "<!-- Cookie Box -->" | safeHTML }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.1/js.cookie.min.js"></script>
<div id="js-cookie-box" class="cookie-box cookie-box-hide">
This site uses cookies. By continuing to use this website, you agree to their use. <span id="js-cookie-button" class="btn btn-transparent">I Accept</span>
</div>
<script>
(function ($) {
const cookieBox = document.getElementById('js-cookie-box');
const cookieButton = document.getElementById('js-cookie-button');
if (!Cookies.get('cookie-box')) {
cookieBox.classList.remove('cookie-box-hide');
cookieButton.onclick = function () {
Cookies.set('cookie-box', true, {
expires: {{ site.Params.cookies.expire_days }}
});
cookieBox.classList.add('cookie-box-hide');
};
}
})(jQuery);
</script>
{{ "<!-- /Cookie Box -->" | safeHTML }}
{{ end }}