File tree Expand file tree Collapse file tree
hacking-guide/en/_layouts/ebook
migration-guide/en/_layouts/ebook
user-manual/en/_layouts/ebook Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {% extends "layout.html" %}
2+
3+ {% block title %}{{ page.title }}{% endblock %}
4+ {% block description %}{{ page.description }}{% endblock %}
5+
6+ {% block style %}
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 }}">
11+ {% else %}
12+ < link rel ="stylesheet " href ="{{ "ebook.css "|resolveAsset }}">
13+ {% endif %}
14+ {% endif %}
15+
16+ {{ super() }}
17+
18+ {### Custom stylesheets for the book ###}
19+
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 }} ">
23+ {% endif %}
24+ {% endfor %}
25+ {% endblock %}
26+
27+ {% block body %}
28+ < div class ="page ">
29+ {% block page %}
30+ < h1 class ="book-chapter-{{ page.depth }} " style ='visibility:hidden; overflow:hidden; height:0; width:0; '> {{ page.title }}</ h1 >
31+ < div class ="section ">
32+ {{ page.content|safe }}
33+ </ div >
34+ {% endblock %}
35+ </ div >
36+ {% endblock %}
Original file line number Diff line number Diff line change 1+ {% extends "layout.html" %}
2+
3+ {% block title %}{{ page.title }}{% endblock %}
4+ {% block description %}{{ page.description }}{% endblock %}
5+
6+ {% block style %}
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 }}">
11+ {% else %}
12+ < link rel ="stylesheet " href ="{{ "ebook.css "|resolveAsset }}">
13+ {% endif %}
14+ {% endif %}
15+
16+ {{ super() }}
17+
18+ {### Custom stylesheets for the book ###}
19+
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 }} ">
23+ {% endif %}
24+ {% endfor %}
25+ {% endblock %}
26+
27+ {% block body %}
28+ < div class ="page ">
29+ {% block page %}
30+ < h1 class ="book-chapter-{{ page.depth }} " style ='visibility:hidden; overflow:hidden; height:0; width:0; '> {{ page.title }}</ h1 >
31+ < div class ="section ">
32+ {{ page.content|safe }}
33+ </ div >
34+ {% endblock %}
35+ </ div >
36+ {% endblock %}
Original file line number Diff line number Diff line change 1+ {% extends "layout.html" %}
2+
3+ {% block title %}{{ page.title }}{% endblock %}
4+ {% block description %}{{ page.description }}{% endblock %}
5+
6+ {% block style %}
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 }}">
11+ {% else %}
12+ < link rel ="stylesheet " href ="{{ "ebook.css "|resolveAsset }}">
13+ {% endif %}
14+ {% endif %}
15+
16+ {{ super() }}
17+
18+ {### Custom stylesheets for the book ###}
19+
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 }} ">
23+ {% endif %}
24+ {% endfor %}
25+ {% endblock %}
26+
27+ {% block body %}
28+ < div class ="page ">
29+ {% block page %}
30+ < h1 class ="book-chapter-{{ page.depth }} " style ='visibility:hidden; overflow:hidden; height:0; width:0; '> {{ page.title }}</ h1 >
31+ < div class ="section ">
32+ {{ page.content|safe }}
33+ </ div >
34+ {% endblock %}
35+ </ div >
36+ {% endblock %}
Original file line number Diff line number Diff line change 16781678 <exclude >etc/ide-settings/**</exclude >
16791679 <exclude >docs/**/*.json</exclude >
16801680 <exclude >docs/**/_book/</exclude >
1681+ <exclude >docs/**/_layouts/</exclude >
16811682 <exclude >**/target/</exclude >
16821683 <exclude >**/META-INF/services/*</exclude >
16831684 <exclude >**/META-INF/MANIFEST.MF</exclude >
You can’t perform that action at this time.
0 commit comments