mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-23 06:32:24 +01:00
* localization / doc fixes: - add missing header.html - docs: support 'i18n' extra, mention in docs - use 'default_locale' for html lang tag - access control docs: fix documentation for adding user with acl command * localization: add compile_catalog after extract as well to simplify updates for identity (en) locale * ui: - include locale in home page collection listing - keep locale on error page home link * autoescape: - ensure jinja2 templates are autoescaped to prevent xss issues (thanks @sebastian-nagel for suggested fix) - ensure banner inserts are not double-escaped - update tests for template autoescaping * update CHANGES.rst * bump version to 2.6.0b1
37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ env.pywb_lang | default(default_locale) }}">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8;charset=utf-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{% block title %}{% endblock %}</title>
|
|
|
|
<!-- jquery and bootstrap dependencies query view -->
|
|
<link rel="stylesheet" href="{{ static_prefix }}/css/bootstrap.min.css"/>
|
|
<link rel="stylesheet" href="{{ static_prefix }}/css/font-awesome.min.css">
|
|
<link rel="stylesheet" href="{{ static_prefix }}/css/base.css">
|
|
|
|
<script src="{{ static_prefix }}/js/jquery-latest.min.js"></script>
|
|
<script src="{{ static_prefix }}/js/bootstrap.min.js"></script>
|
|
|
|
{% block head %}
|
|
{% include 'head.html' ignore missing %}
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<body>
|
|
{% block header %}
|
|
{% include 'header.html' ignore missing %}
|
|
{% endblock %}
|
|
|
|
<section>
|
|
{% block body %}
|
|
{% endblock %}
|
|
</section>
|
|
|
|
{% block footer %}
|
|
{% include 'footer.html' ignore missing %}
|
|
{% endblock footer %}
|
|
</body>
|
|
</html>
|