Commits

Steve Losh  committed 6425f81

Ack!

  • Participants
  • Parent commits 5f14091

Comments (0)

Files changed (2)

File bookmarkdown/bookmarkdown

 
     _copy_static()
 
-    paths = ['preface']
+    paths = ['preface', 'acknowledgements']
     for filename in os.listdir('chapters'):
         if filename.endswith('.markdown'):
             name = filename.rsplit('.')[0]
 
     _build_html_file('license', 'single', paths)
     _build_html_file('preface', 'single', paths)
+    _build_html_file('acknowledgements', 'single', paths)
 
     chapters = []
-    for path in paths[1:]:
+    for path in paths[2:]:
         chapter = _build_html_file(path, 'chapter', paths)
         chapters.append(chapter)
 

File bookmarkdown/templates/splash.html

 
             <ol>
                 <li><a href="/preface.html">Preface</a></li>
+                <li><a href="/acknowledgements.html">Acknowledgements</a></li>
                 {% for chapter in chapters %}
                     <li><a href="/{{ chapter['filename'] }}.html">{{ chapter['name'] }}</a></li>
                 {% endfor %}