main
alexanderroese 2024-06-17 23:01:19 +02:00
parent a9260d2f86
commit b1716b8958
1 changed files with 8 additions and 5 deletions

View File

@ -308,11 +308,14 @@
</script>
<script>
document.addEventListener('DOMContentLoaded', function() {
if (window.location.pathname === "/pages/contact") {
document.getElementsByClassName('header-wrapper')[0].style.backgroundColor = "yellow";
}
});
var pageInfo = {
url: "{{ page.url }}",
title: "{{ page.title }}",
handle: "{{ page.handle }}"
// Add more properties as needed
};
console.log(pageInfo);
</script>
<!-- Render CSS content -->