提交 a6107eb2 编写于 作者: S Samy Pessé

Add stylesheets for pdf header/footer

上级 4027ed65
{% extends "layout.html" %}
{% block style %}
<link rel="stylesheet" href="{{ "ebook.css"|resolveAsset }}">
<link rel="stylesheet" href="{{ "pdf.css"|resolveAsset }}">
{{ super() }}
{% endblock %}
{% block body %}
<div class="page">
{% block page %}
......
{% extends "layout.html" %}
{% extends "./page.html" %}
{% block body %}
<div class="pdf-footer">
......
{% extends "layout.html" %}
{% extends "./page.html" %}
{% block body %}
<div class="pdf-header">
......
......@@ -10,7 +10,6 @@
{% if book.author %}<meta name="author" content="{{ book.author }}">{% endif %}
{% if book.isbn %}<meta name="identifier" content="{{ book.isbn }}" scheme="ISBN">{% endif %}
{% block style %}
<link rel="stylesheet" href="{{ "style.css"|resolveAsset }}">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
......
......@@ -19,6 +19,10 @@
{% endif %}
{% endblock %}
{% block style %}
<link rel="stylesheet" href="{{ "style.css"|resolveAsset }}">
{{ super() }}
{% endblock %}
{% block javascript %}
<script src="{{ "app.js"|resolveAsset }}"></script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册