Skip to content
This repository
Browse code

Better chapter headings (now show the title and chapter number)

  • Loading branch information...
commit b6cd92e2dc92e9baeb8ddc64a972f4a38ee5ae5c 1 parent 44e421f
Tim Richardson timrichardson authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 views/default/chapter.html
4 views/default/chapter.html
@@ -37,7 +37,7 @@
37 37 {{end}}
38 38
39 39 {{if request.function=='chapter':}}
40   -<h4><a id="chapter-toc-toggle" href="#">Chapter {{=chapter_id}} Table of Contents</a></h4>
  40 +<h4><a id="chapter-toc-toggle" href="#">Chapter {{=chapter_id}}: {{=chapter_title}}</a></h4>
41 41 {{pass}}
42 42
43 43 {{block page_javascript}}
@@ -94,4 +94,4 @@
94 94 {{=content}}
95 95 </div>
96 96
97   -<a id="gototop_btn" href="#header"><i class="icon-arrow-up"></i><em>&nbsp;top</em></a>
  97 +<a id="gototop_btn" href="#header"><i class="icon-arrow-up"></i><em>&nbsp;top</em></a>

0 comments on commit b6cd92e

Please sign in to comment.
Something went wrong with that request. Please try again.