-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbase.html
More file actions
25 lines (25 loc) · 754 Bytes
/
base.html
File metadata and controls
25 lines (25 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Codex transcript{% endblock %}</title>
<script>
(function() {
try {
var theme = localStorage.getItem("theme");
if (theme === "light" || theme === "dark") {
document.documentElement.setAttribute("data-theme", theme);
}
} catch (e) {}
})();
</script>
<style>{{ css|safe }}</style>
</head>
<body class="{% block body_class %}{% endblock %}">
<div class="container">
{%- block content %}{% endblock %}
</div>
<script>{{ js|safe }}</script>
</body>
</html>