Fix: Correct EJS include paths for partials

This commit is contained in:
2025-11-09 18:50:11 -08:00
parent 82e3028d80
commit ed80f0e5f5

View File

@@ -1,18 +1,18 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<%- include('./src/partials/head.html') %> <%- include('/src/partials/head.html') %>
</head> </head>
<body class="bg-white text-gray-900 selection:bg-black/10" x-data @click.window="if($event.target.closest('button')) haptic(); if(!document.getElementById('threadPopover').contains($event.target)&&!$event.target.closest('[data-thread-menu]')) hideThreadPopover(); if(!document.getElementById('sunePopover').contains($event.target)&&!$event.target.closest('[data-sune-menu]')) hideSunePopover(); if(!document.getElementById('userMenu').contains($event.target)&&!document.getElementById('userMenuBtn').contains($event.target)) document.getElementById('userMenu').classList.add('hidden')"> <body class="bg-white text-gray-900 selection:bg-black/10" x-data @click.window="if($event.target.closest('button')) haptic(); if(!document.getElementById('threadPopover').contains($event.target)&&!$event.target.closest('[data-thread-menu]')) hideThreadPopover(); if(!document.getElementById('sunePopover').contains($event.target)&&!$event.target.closest('[data-sune-menu]')) hideSunePopover(); if(!document.getElementById('userMenu').contains($event.target)&&!document.getElementById('userMenuBtn').contains($event.target)) document.getElementById('userMenu').classList.add('hidden')">
<div class="flex flex-col h-dvh max-h-dvh overflow-hidden"> <div class="flex flex-col h-dvh max-h-dvh overflow-hidden">
<%- include('./src/partials/header.html') %> <%- include('/src/partials/header.html') %>
<%- include('./src/partials/main.html') %> <%- include('/src/partials/main.html') %>
<%- include('./src/partials/footer.html') %> <%- include('/src/partials/footer.html') %>
</div> </div>
<%- include('./src/partials/sidebars.html') %> <%- include('/src/partials/sidebars.html') %>
<%- include('./src/partials/popovers.html') %> <%- include('/src/partials/popovers.html') %>
<%- include('./src/partials/modals.html') %> <%- include('/src/partials/modals.html') %>
<%- include('./src/partials/scripts.html') %> <%- include('/src/partials/scripts.html') %>
<script type="module" src="/src/main.js"></script> <script type="module" src="/src/main.js"></script>
</body> </body>
</html> </html>