init elas atelier #1

Merged
nvrl merged 82 commits from ela into main 2026-05-18 13:55:42 +02:00
Showing only changes of commit 31a38d59bc - Show all commits
+8
View File
@@ -78,6 +78,14 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0;
const savedTheme = localStorage.getItem('user-theme') || defaultTheme || 'salon';
document.documentElement.classList.add(savedTheme);
</script>
<script is:inline>
// When a page is restored from the back/forward cache (e.g. after
// saving in the editor and hitting Back), the SSR'd post grid is
// stale. Force a fresh fetch so newly edited tags / titles show up.
window.addEventListener('pageshow', function (e) {
if (e.persisted) window.location.reload();
});
</script>
<slot name="head" />
</head>
<body class="text-text">