mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-09 11:19:41 +02:00
Add jinja template for cover page (used by EPUB renderer)
Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
650d90d92d
commit
305949e56e
1 changed files with 20 additions and 0 deletions
20
book/source/_templates/cover.j2
Normal file
20
book/source/_templates/cover.j2
Normal file
|
@ -0,0 +1,20 @@
|
|||
{#
|
||||
SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0
|
||||
#}
|
||||
{%- extends "layout.html" %}
|
||||
{%- block header %}{% endblock %}
|
||||
{%- block rootrellink %}{% endblock %}
|
||||
{%- block relbaritems %}{% endblock %}
|
||||
{%- block sidebarlogo %}{% endblock %}
|
||||
{%- block linktags %}{% endblock %}
|
||||
{%- block relbar1 %}{% endblock %}
|
||||
{%- block sidebar1 %}{% endblock %}
|
||||
{%- block sidebar2 %}{% endblock %}
|
||||
{%- block footer %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="cover-img">
|
||||
<img src="{{ image }}" alt="Cover image" />
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue