mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 23:34:24 +01:00
104 lines
4.5 KiB
HTML
104 lines
4.5 KiB
HTML
{{ "<!-- 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">
|
|
|
|
<div class="row">
|
|
{{ "<!-- Social Links -->" | safeHTML }}
|
|
<div class="social-icon text-center col-sm">
|
|
<h2> Social Media</h2>
|
|
<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>
|
|
</div>
|
|
|
|
{{ if site.Params.sketchfab.enable }}
|
|
{{ "<!-- Social Sketchfab Link -->" | safeHTML }}
|
|
<div class="social-icon text-center col-sm">
|
|
<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 }}">
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ 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 }}">
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<div class="border-Rinkusu" style="background: #0f1e31;"></div>
|
|
|
|
{{ "<!-- 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">
|
|
</a>
|
|
<br>
|
|
<p>{{ site.Params.copyright | markdownify }}</p>
|
|
{{ if site.Params.license }}
|
|
<p class="license">{{ site.Params.license | markdownify }}</p>
|
|
{{ end }}
|
|
|
|
</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 }}
|
|
|
|
{{ "<!-- Main Script --> " | safeHTML }}
|
|
{{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384" }}
|
|
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}" crossorigin="anonymous"></script>
|
|
|
|
{{ 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 }}
|