Skip to content

Commit f03153e

Browse files
committed
Remove page break between articles in ebook
Add title for exercise solutions sections
1 parent 3d8b6e5 commit f03153e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

theme/assets/print.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

theme/stylesheets/ebook.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
display: none;
88
}
99

10-
article {
11-
page-break-after: always;
12-
}
1310

1411
pre, blockquote {
1512
border: 1px solid #999;

theme/templates/page.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ <h1 class="book-chapter book-chapter-{{ item.level|lvl }}">{{ item.title }}</h1>
5252
{% set exercise = 1 %}
5353
<article>
5454
<h1 class="book-chapter book-chapter-1">Exercise Solutions</h1>
55+
<h1>Exercise Solutions</h1>
5556

5657
{% for item in progress.chapters %}
5758
{% if pages[item.path] %}

0 commit comments

Comments
 (0)