1 {% extends "layout.html" %}
3 {% block title %}{{ page.title }}{% endblock %}
4 {% block description %}{{ page.description }}{% endblock %}
7 {### Include theme css before plugins css ###}
8 {% if not fileExists(config.styles.print) %}
9 {% if options.format %}
10 <link rel="stylesheet" href="{{ (options.format + ".css")|resolveAsset }}">
12 <link rel="stylesheet" href="{{ "ebook.css"|resolveAsset }}">
18 {### Custom stylesheets for the book ###}
20 {% for type, style in config.styles %}
21 {% if fileExists(style) and (type == "ebook" or type == "print" or type == options.format) %}
22 <link rel="stylesheet" href="{{ style|resolveFile }}">
30 <h1 class="book-chapter book-chapter-{{ page.depth }}">{{ page.title }}</h1>
32 {{ page.content|safe }}