lepa_octomode/templates/pagedjs.html
2025-12-27 14:51:12 +01:00

29 lines
1,017 B
HTML

<!DOCTYPE html>
<html lang="{{ lang }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="{{ url_for('static', filename='paged.polyfill.js') }}" type="text/javascript"></script>
<script src="{{ url_for('static', filename='footnotes.js') }}" type="text/javascript"></script>
{% if impose %}
<script src="{{ url_for('static', filename='imposition.js') }}" type="text/javascript" id="imposition_js"></script>
<style>body{
--paged-layout: booklet;
}</style>
{% endif %}
{% if cover %}
<style>
.pagedjs_first_page {
background-image: url({{cover}});
}
</style>
{% endif %}
<link href="{{ url_for('static', filename='pagedjs.css') }}" rel="stylesheet" type="text/css" media="screen">
<link href="{{ url_for('css', name=name) }}" rel="stylesheet" type="text/css" media="print">
<title>{{ title }}</title>
</head>
<body>
{{ pad_content }}
</body>
</html>