mirror of
https://github.com/immich-app/immich.git
synced 2025-02-04 01:09:14 -05:00
ed4358741e
* feat: re-add open graph tags for public share links * fix: undefined in html * chore: tests
25 lines
647 B
HTML
25 lines
647 B
HTML
<!doctype html>
|
|
<html lang="en" class="dark">
|
|
<head>
|
|
<!-- (used for SSR) -->
|
|
<!-- metadata:tags -->
|
|
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
%sveltekit.head%
|
|
<script>
|
|
/**
|
|
* Prevent FOUC on page load.
|
|
*/
|
|
const theme = localStorage.getItem('color-theme') || 'dark';
|
|
if (theme === 'light') {
|
|
document.documentElement.classList.remove('dark');
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="/custom.css" />
|
|
</head>
|
|
|
|
<body class="bg-immich-bg dark:bg-immich-dark-bg">
|
|
<div>%sveltekit.body%</div>
|
|
</body>
|
|
</html>
|