~jan0sch/darcs-book

Showing details for patch 8709bdd0f8d9b06a1af834c576ad0c53c69cf0f5.
2020-05-30 (Sat), 1:14 PM - - 8709bdd0f8d9b06a1af834c576ad0c53c69cf0f5

hacky way to get the TOC working

Summary of changes
10 files modified with 13 lines added and 0 lines removed
  • en/01-introduction.md with 2 added and 0 removed lines
  • en/02-getting-started.md with 1 added and 0 removed lines
  • en/03-working-locally.md with 1 added and 0 removed lines
  • en/04-happy-little-accidents.md with 1 added and 0 removed lines
  • en/05-a-little-help-from-my-friends.md with 1 added and 0 removed lines
  • en/06-conflict-management.md with 1 added and 0 removed lines
  • en/07-dependencies-and-good-patches.md with 1 added and 0 removed lines
  • en/08-rewriting-history.md with 1 added and 0 removed lines
  • en/09-tag-youre-it.md with 2 added and 0 removed lines
  • html/template.html with 2 added and 0 removed lines
diff -rN -u old-darcs-book/en/01-introduction.md new-darcs-book/en/01-introduction.md
--- old-darcs-book/en/01-introduction.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/01-introduction.md	2024-11-23 12:07:54.488902556 +0000
@@ -1,6 +1,8 @@
 ---
 title: Introduction
+prev: index
 next: chapter02
+toclink: yes
 ---
 
 Introduction
diff -rN -u old-darcs-book/en/02-getting-started.md new-darcs-book/en/02-getting-started.md
--- old-darcs-book/en/02-getting-started.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/02-getting-started.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: Getting started
 prev: chapter01
 next: chapter03
+toclink: yes
 ---
 
 Getting started
diff -rN -u old-darcs-book/en/03-working-locally.md new-darcs-book/en/03-working-locally.md
--- old-darcs-book/en/03-working-locally.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/03-working-locally.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: Working locally
 prev: chapter02
 next: chapter04
+toclink: yes
 ---
 
 Working locally
diff -rN -u old-darcs-book/en/04-happy-little-accidents.md new-darcs-book/en/04-happy-little-accidents.md
--- old-darcs-book/en/04-happy-little-accidents.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/04-happy-little-accidents.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: Happy little accidents
 prev: chapter03
 next: chapter05
+toclink: yes
 ---
 
 Happy little accidents
diff -rN -u old-darcs-book/en/05-a-little-help-from-my-friends.md new-darcs-book/en/05-a-little-help-from-my-friends.md
--- old-darcs-book/en/05-a-little-help-from-my-friends.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/05-a-little-help-from-my-friends.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: A little help from my friends
 next: chapter06
 prev: chapter04
+toclink: yes
 ---
 
 A little help from my friends
diff -rN -u old-darcs-book/en/06-conflict-management.md new-darcs-book/en/06-conflict-management.md
--- old-darcs-book/en/06-conflict-management.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/06-conflict-management.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: Conflict Management
 next: chapter07
 prev: chapter05
+toclink: yes
 ---
 
 Conflict Management
diff -rN -u old-darcs-book/en/07-dependencies-and-good-patches.md new-darcs-book/en/07-dependencies-and-good-patches.md
--- old-darcs-book/en/07-dependencies-and-good-patches.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/07-dependencies-and-good-patches.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: Dependencies and good patches
 next: chapter08
 prev: chapter06
+toclink: yes
 ---
 
 Dependencies and good patches
diff -rN -u old-darcs-book/en/08-rewriting-history.md new-darcs-book/en/08-rewriting-history.md
--- old-darcs-book/en/08-rewriting-history.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/08-rewriting-history.md	2024-11-23 12:07:54.488902556 +0000
@@ -2,6 +2,7 @@
 title: Rewriting History
 next: chapter09
 prev: chapter07
+toclink: yes
 ---
 
 Rewriting History
diff -rN -u old-darcs-book/en/09-tag-youre-it.md new-darcs-book/en/09-tag-youre-it.md
--- old-darcs-book/en/09-tag-youre-it.md	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/en/09-tag-youre-it.md	2024-11-23 12:07:54.488902556 +0000
@@ -1,6 +1,8 @@
 ---
 title: tag! You're it!
+next: index
 prev: chapter08
+toclink: yes
 ---
 
 `tag`! You're it!
diff -rN -u old-darcs-book/html/template.html new-darcs-book/html/template.html
--- old-darcs-book/html/template.html	2024-11-23 12:07:54.488902556 +0000
+++ new-darcs-book/html/template.html	2024-11-23 12:07:54.488902556 +0000
@@ -25,9 +25,11 @@
       <a class="prevlink" href="$prev$.html">&laquo; Back</a>
     </li>
     $endif$
+    $if(toclink)$
     <li style="text-align:center">
       <a href="index.html">Table of Contents</a>
     </li>
+    $endif$
     $if(next)$
     <li style="text-align:right">
       <a class="nextlink" href="$next$.html">Next &raquo;</a>