2021-11-28 01:43:29 +00:00
|
|
|
{% load layout %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load static %}
|
|
|
|
{% load utilities %}
|
|
|
|
{% load markdown %}
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{% get_lang %}">
|
|
|
|
<head>
|
2021-11-30 10:01:07 +00:00
|
|
|
<title>{% block title %}{% endblock %}</title>
|
2021-11-29 08:37:56 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2021-12-06 05:26:16 +00:00
|
|
|
<link rel="stylesheet" href="{% static 'css/vendor/bulma.min.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% static 'css/vendor/icons.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% static 'css/bookwyrm.css' %}">
|
2021-11-29 08:37:56 +00:00
|
|
|
<script>
|
|
|
|
function closeWindow() {
|
2021-11-29 08:53:13 +00:00
|
|
|
window.close();
|
2021-11-29 08:37:56 +00:00
|
|
|
}
|
|
|
|
</script>
|
2021-11-28 01:43:29 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav class="navbar" aria-label="main navigation">
|
2021-11-29 08:37:56 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-brand">
|
2021-12-06 05:26:16 +00:00
|
|
|
<img class="image logo navbar-item" src="{% if site.logo_small %}{% get_media_prefix %}{{ site.logo_small }}{% else %}{% static 'images/logo-small.png' %}{% endif %}" alt="Home page">
|
2021-11-29 08:37:56 +00:00
|
|
|
<h2 class="navbar-item subtitle">{% block heading %}{% endblock %}</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-28 01:43:29 +00:00
|
|
|
</nav>
|
|
|
|
<div class="section is-flex-grow-1 columns is-centered">
|
|
|
|
<div class="block column is-one-third">
|
|
|
|
{% block content%}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-11-30 10:01:07 +00:00
|
|
|
<script>
|
|
|
|
var csrf_token = '{{ csrf_token }}';
|
|
|
|
</script>
|
2021-12-06 05:26:16 +00:00
|
|
|
<script src="{% static 'js/bookwyrm.js' %}?v={{ js_cache }}"></script>
|
2021-11-28 01:43:29 +00:00
|
|
|
</body>
|
|
|
|
</html>
|