<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>Headline</title>
		{% assets "css" %}
		<link rel="stylesheet" href="{{ ASSET_URL }}" />
		{% endassets %}
		<link rel="icon" type="image/png" href="/static/icon-32.png" sizes="32x32" />
		<link rel="icon" type="image/svg+xml" href="/static/icon.svg" />
		<link rel="apple-touch-icon" href="/static/icon-180.png" />
		<link rel="manifest" href="/static/manifest.webmanifest" />
		<script
			defer
			data-domain="headline.beta.nolog.cz"
			src="https://plausible.nolog.cz/js/plausible.js"
		></script>
		<script src="{{ url_for('static', filename='htmx@1.9.4.min.js') }}"></script>
		<script defer src="{{ url_for('static', filename='alpinejs-persist@3.12.3.min.js') }}"></script>
		<script defer src="{{ url_for('static', filename='alpinejs@3.12.3.min.js') }}"></script>
		{% block head %}{% endblock %}
	</head>
	<body hx-boost="true" x-data="{ expandDiffs: $persist(false) }">
		<header class="py-4 bg-white {% block header_class %}border-b{% endblock %}">
			<div class="container flex flex-wrap items-center gap-x-8 gap-y-2">
				<a href="/" class="text-inherit">
					<h1 class="logo text-2xl font-bold">
						{% include "parts/logo.svg" %}
					</h1>
				</a>
				<nav class="flex flex-wrap items-center gap-x-4 gap-y-2 text-black font-medium">
					<a class="text-inherit" href="/about">About</a>
					<a class="text-inherit" href="/feeds">Feeds</a>
				</nav>
			</div>
		</header>
		<main class="mb-auto">
			{% block body %}{% endblock %}
		</main>
		{% include "parts/footer.html" %}
	</body>
</html>