Rinkusu/layouts/partials/footer.html

105 lines
4.5 KiB
HTML
Raw Normal View History

2021-04-29 19:17:19 +02: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 12:53:45 +02:00
<div class="row">
{{ "<!-- Social Links -->" | safeHTML }}
2022-02-18 21:15:18 +01:00
<div class="social-icon text-center col-sm">
2021-09-14 14:52:51 +02:00
<h2> Social Media</h2>
2021-05-27 12:53:45 +02: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 10:34:09 +02:00
</div>
2021-05-27 12:53:45 +02:00
{{ if site.Params.sketchfab.enable }}
{{ "<!-- Social Sketchfab Link -->" | safeHTML }}
2022-02-18 21:15:18 +01:00
<div class="social-icon text-center col-sm">
2021-05-27 12:53:45 +02:00
<h2>{{ site.Params.sketchfab.text | markdownify }}</h2>
<a href="{{ site.Params.sketchfab.link | safeHTML }}" class="social-icon-a">
<img class="social-icon-img" src="{{ site.Params.sketchfab.img | absURL }}" alt="{{ site.Params.sketchfab.img_alt }}">
2021-05-27 12:53:45 +02:00
</a>
</div>
2021-05-27 12:53:45 +02:00
{{ end }}
2022-07-18 20:53:13 +02: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 }}" alt="{{ site.Params.itchio.img_alt }}">
2022-07-18 20:53:13 +02:00
</a>
</div>
{{ end }}
2021-05-27 12:53:45 +02:00
</div>
2021-07-20 20:17:52 +02:00
2022-10-14 16:10:28 +02:00
<div class="border-Rinkusu" style="background: #0f1e31;"></div>
2021-07-20 20:17:52 +02:00
2021-04-29 19:17:19 +02:00
{{ "<!-- Copyright -->" | safeHTML }}
<div class="copyright text-center">
<a href="{{ site.Home.Permalink }}">
<img src="{{ site.Params.logo | absURL }}" alt="{{ site.Params.logo_alt }}" height="128">
2021-04-29 19:17:19 +02:00
</a>
<br>
<p>{{ site.Params.copyright | markdownify }}</p>
2021-12-07 11:42:42 +01:00
{{ if site.Params.license }}
<p class="license">{{ site.Params.license | markdownify }}</p>
{{ end }}
2021-04-29 19:17:19 +02: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 14:05:19 +02:00
2021-09-14 12:47:19 +02:00
{{ "<!-- Main Script --> " | safeHTML }}
{{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384" }}
2023-02-27 10:20:59 +01:00
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}" crossorigin="anonymous"></script>
2021-09-14 12:47:19 +02:00
2021-05-27 14:05:19 +02: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 }}