work.suroh.tk/_includes/base.njk

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-12-02 12:22:45 +00:00
<!DOCTYPE html>
<html lang="en">
2022-12-23 11:02:04 +00:00
2019-12-02 12:22:45 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
2023-01-10 17:12:00 +00:00
<title>{{ site.siteName }}</title>
2019-12-02 12:22:45 +00:00
2023-01-10 17:12:00 +00:00
<meta name="generator" content="{{ site.generator }}">
2023-01-10 17:07:18 +00:00
2019-12-02 12:22:45 +00:00
<!-- styles -->
2023-10-26 08:55:34 +00:00
<link rel="stylesheet" href="/assets/css/main.css">
2019-12-02 12:22:45 +00:00
<!-- javascript -->
<script src="/assets/js/script.js" type="module"></script>
2022-02-05 12:46:52 +00:00
<!-- tracking -->
2022-12-23 11:02:04 +00:00
<script async defer data-website-id="f24934aa-ee11-49ee-993f-a64b8df6a01c"
src="https://analytics.suroh.tk/umami.js"></script>
2022-02-05 12:46:52 +00:00
2023-10-26 10:06:12 +00:00
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
2019-12-02 12:22:45 +00:00
</head>
2022-12-23 11:02:04 +00:00
2019-12-02 12:22:45 +00:00
<body>
2022-12-23 11:02:04 +00:00
2019-12-02 12:22:45 +00:00
<div id="wrapper">
{% include 'nav.njk' %}
{% block content %}{% endblock %}
{% block footer %}{% endblock %}
</div>
2023-10-26 10:06:12 +00:00
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
window.netlifyIdentity.on("login", () => {
document.location.href = "/admin/";
});
}
});
}
</script>
2022-02-05 12:46:52 +00:00
</body>