Håvard O. Nordstrand 5 years ago
parent
commit
63d072efa5
3 changed files with 4 additions and 1 deletions
  1. 2 0
      _includes/header.md
  2. 1 0
      config/debian-server/test.md
  3. 1 1
      index.md

+ 2 - 0
_includes/header.md

@@ -5,7 +5,9 @@
 {% for crumb in page.breadcrumbs %}[{{ crumb.title }}]({{ crumb.url }}) / {% endfor %}{{ page.title }}
 {% endif %}
 
+{% if page.toc_enable %}
 ## Contents
 {:.no_toc}
 - ToC
 {:toc}
+{% endif %}

+ 1 - 0
config/debian-server/test.md

@@ -1,5 +1,6 @@
 ---
 title: Debian Server Configuration
+toc_enable: yes
 breadcrumbs:
 - title: Home
   url: /

+ 1 - 1
index.md

@@ -1,6 +1,6 @@
 # HON's Wiki
 
-### Areas
+## Areas
 
 - [Configuration Notes](config/)