summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-05 18:44:17 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-05 18:44:17 -0700
commit12b5baf43392ba7775be5d9212d8d0d15bd3f5a7 (patch)
tree28c43e2ddcf0bf7252517d99a516cf0a2f84a433
parentf38d68c3555abddd30481018230c2c3c915d4517 (diff)
downloadgitbook-12b5baf43392ba7775be5d9212d8d0d15bd3f5a7.zip
gitbook-12b5baf43392ba7775be5d9212d8d0d15bd3f5a7.tar.gz
gitbook-12b5baf43392ba7775be5d9212d8d0d15bd3f5a7.tar.bz2
Start exercise index at 1 on pdf format
-rw-r--r--theme/templates/page.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html
index 6b8c6ca..9dbb265 100644
--- a/theme/templates/page.html
+++ b/theme/templates/page.html
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="{{ staticBase }}/print.css">
{% endblock %}
-{% set exercise = 0 %}
+{% set exercise = 1 %}
{% block content %}
{# Cover #}
<section id="cover">
@@ -90,8 +90,8 @@
{# Exercise solutions #}
- {% if exercise > 0 %}
- {% set exercise = 0 %}
+ {% if exercise > 1 %}
+ {% set exercise = 1 %}
<section>
<article class="new-chapter">
<h1>Exercise Solutions</h1>