31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="ru" data-theme="dark">
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
<title>{% block title %}RSS → ntfy{% endblock %}</title>
|
||
|
|
<script>
|
||
|
|
// Apply saved theme/lang before paint to avoid a flash.
|
||
|
|
(function () {
|
||
|
|
try {
|
||
|
|
var th = localStorage.getItem("theme") === "light" ? "light" : "dark";
|
||
|
|
document.documentElement.setAttribute("data-theme", th);
|
||
|
|
var l = localStorage.getItem("lang");
|
||
|
|
if (l !== "ru" && l !== "en")
|
||
|
|
l = (navigator.language || "en").indexOf("ru") === 0 ? "ru" : "en";
|
||
|
|
document.documentElement.lang = l;
|
||
|
|
} catch (e) {}
|
||
|
|
})();
|
||
|
|
</script>
|
||
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||
|
|
<link rel="stylesheet" href="/static/style.css">
|
||
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>📡</text></svg>">
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
{% block body %}{% endblock %}
|
||
|
|
<script src="/static/i18n.js"></script>
|
||
|
|
{% block scripts %}{% endblock %}
|
||
|
|
</body>
|
||
|
|
</html>
|