<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}" class="scroll-smooth dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title>
    <link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
</head>
<body class="min-h-screen bg-white text-gray-900 dark:bg-pizza-dark dark:text-white">
    {{ partial "header.html" . }}
    <main class="pt-24">
        {{ block "main" . }}{{ end }}
    </main>
    {{ partial "footer.html" . }}
    
    <!-- JavaScript -->
    <script src="{{ "js/main.js" | relURL }}"></script>
    <script src="{{ "js/theme.js" | relURL }}" defer></script>
    <script src="/js/menu.js"></script>
    {{ with resources.Get "js/opening-status.js" }}
        {{ with . | resources.Minify }}
            <script src="{{ .RelPermalink }}"></script>
        {{ end }}
    {{ end }}
</body>
</html> 
