about summary refs log tree commit diff
path: root/docs/templates.md
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-07-29T23·16+0200
committerVincent Ambo <tazjin@gmail.com>2017-08-04T21·11+0200
commitd7569abccacba40200b61c54571016edd9e5a457 (patch)
tree387767e23b6abe920ba3ea58f8372be4724d1072 /docs/templates.md
parent4adc8f2c4c9c3eabc086b329e4af9477bb0eee92 (diff)
docs: Add tables of content to all documentation files
Diffstat (limited to 'docs/templates.md')
-rw-r--r--docs/templates.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/templates.md b/docs/templates.md
index 8dff28dd1c..8bcc2c7f56 100644
--- a/docs/templates.md
+++ b/docs/templates.md
@@ -12,6 +12,19 @@ or in which conditionals are evaluated for more complex template logic.
 It is recommended that you check out the Golang [documentation][] for the templating
 engine in addition to the cherry-picked features listed here.
 
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Kontemplate templates](#kontemplate-templates)
+    - [Basic variable interpolation](#basic-variable-interpolation)
+        - [Example:](#example)
+    - [Template functions](#template-functions)
+    - [Examples:](#examples)
+    - [Conditionals & ranges](#conditionals--ranges)
+    - [Caveats](#caveats)
+
+<!-- markdown-toc end -->
+
 ## Basic variable interpolation
 
 The basic template format uses `{{ .variableName }}` as the interpolation format.