cpred/_includes/footer.html
Florian 20b46587ee
All checks were successful
Deploy Jekyll site to Pages / build (push) Successful in 4m37s
Add character profiles, new pages, and update layout styles
2025-03-17 18:47:11 +01:00

29 lines
1.0 KiB
HTML

<footer class="cyber-razor-top bg-black">
{% if site.footer_links and site.footer_links.size > 0 %}
{% for link in site.footer_links %}
<a href="{{ link.url }}" class="cyber-a">{{ link.title }}</a>
{% endfor %}
{% else %}
<span></span> <!-- Erzeugt leeren, aber sichtbaren Footer -->
{% endif %}
</footer>
<script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script>
<script src="{{ "/assets/js/materialize.min.js" | relative_url }}"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var sidenavElems = document.querySelectorAll('.sidenav');
var sidenavInstances = M.Sidenav.init(sidenavElems, {});
});
document.querySelectorAll("button").forEach(button => {
const href = button.getAttribute("data-href");
if (!href) return;
button.addEventListener("click", () => {
window.location.href = button.getAttribute("data-href");
});
});
</script>