Files
infix/doc/templates/cover.html
T
Joachim Wiberg 83f2c27e6d doc: initial support for pdf export at doc. generation
- custom cover page for pdf
 - Center and resize logo
 - Place slogan just below logo
 - Ensure all text on cover page is in matching grey

Please note, the mkdocs-to-pdf plugin works, but it has a bug in the
enumeration of sections.  We may need to fork it to make it work the
way users expect.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-07-30 14:58:10 +02:00

24 lines
613 B
HTML

<article id="doc-cover">
{% if cover_logo is defined %}
<div class="wrapper upper">
<img src="{{ cover_logo | to_url }}" alt="Logo" class="logo">
</div>
{% else %}
<div class="wrapper"></div>
{% endif %}
<div class="wrapper">
<h2>{{ cover_subtitle | e }}</h2>
<div class="divider"></div>
<h1>{{ cover_title | e }}</h1>
</div>
<div class="properties">
<address>
{% if copyright is defined %}
<p id="copyright">{{ copyright | e }}</p>
{% endif %}
</address>
</div>
</article>