Files
privatestudio/privatestudio/studio/templates/base.html
T
2026-12-01 20:58:47 -07:00

68 lines
2.4 KiB
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
{% block title %}
Private Studio
{% endblock %}
{% block title_suffix %}
{% endblock %}
</title>
{# {% if page.search_description %}#}
{# <meta name="description" content="{{ page.search_description }}" />#}
{# {% endif %}#}
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="{% static 'favicon.ico' %}" sizes="any" />
<link rel="icon" href="{% static 'favicon.svg' %}" type="image/svg+xml" />
<link rel="apple-touch-icon" href="{% static 'apple-touch-icon.png' %}" />
{# Force all links in the live preview panel to be opened in a new tab #}
{% if request.in_preview_panel %}
<base target="_blank">
{% endif %}
{# Global stylesheets #}
<link rel="stylesheet" href="{% static 'bundle/main.css' %}" crossorigin="anonymous"/>
<script src="{% static 'bundle/tinymce/tinymce.min.js' %}" crossorigin="anonymous"></script>
{% block extra_css %}
{# Override this in templates to add extra stylesheets #}
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{# This JS is at the top of the page because of HTMX order of declaration problems #}
<script src="{% static 'bundle/htmx.min.js' %}" crossorigin="anonymous"></script>
{% include 'privatestudio/nav_header.html' %}
<div class="container">
{% block notifications %}
{% for message in messages %}
<div class="alert alert-info">
{{ message|linebreaksbr }}
</div>
{% endfor %}
{% endblock %}
{% block outer_content %}
{% block content %}{% endblock %}
{% endblock %}
</div>
{% include 'privatestudio/nav_footer.html' %}
{# Global javascript #}
<script src="{% static 'bundle/main.js' %}" crossorigin="anonymous"></script>
<script src="{% static 'tinymcehelper.js' %}" crossorigin="anonymous"></script>
{% block extra_js %}
{# Override this in templates to add extra javascript #}
{% endblock %}
{% block extra_body %}
{% endblock %}
</body>
</html>