bookwyrm/bookwyrm/templates/ostatus/template.html

41 lines
1.3 KiB
HTML
Raw Normal View History

2021-11-28 01:43:29 +00:00
{% load layout %}
2022-08-29 14:10:36 +00:00
{% load sass_tags %}
2021-11-28 01:43:29 +00:00
{% load i18n %}
{% load static %}
{% load utilities %}
{% load markdown %}
<!DOCTYPE html>
<html lang="{% get_lang %}">
<head>
<title>{% block title %}{% endblock %}</title>
2021-11-29 08:37:56 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2022-08-29 14:10:36 +00:00
<link href="{% sass_src site_theme %}" rel="stylesheet" type="text/css" />
<script nonce="{{request.csp_nonce}}">
2021-11-29 08:37:56 +00:00
function closeWindow() {
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>
<script nonce="{{request.csp_nonce}}">
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>