diff --git a/theme/templates/includes/book/summary.html b/theme/templates/includes/book/summary.html index 76ee19234..2f9dc3f39 100644 --- a/theme/templates/includes/book/summary.html +++ b/theme/templates/includes/book/summary.html @@ -5,11 +5,19 @@ {% if item.path %} {% if !externalLink %} - {{ item.level }}. {{ item.title }} + + {% if item.level !== "0" %} + {{ item.level }}. + {% endif %} + {{ item.title }} {% else %} - {{ item.level }}. {{ item.title }} + + {% if item.level !== "0" %} + {{ item.level }}. + {% endif %} + {{ item.title }} {% endif %} {% else %} @@ -55,9 +63,6 @@
  • {% endif %} -
  • - Introduction -
  • {{ articles(summary.chapters) }} {% if options.links.gitbook !== false %}