From d7569abccacba40200b61c54571016edd9e5a457 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 30 Jul 2017 01:16:45 +0200 Subject: docs: Add tables of content to all documentation files --- docs/templates.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/templates.md') diff --git a/docs/templates.md b/docs/templates.md index 8dff28dd1c38..8bcc2c7f5665 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. + +**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) + + + ## Basic variable interpolation The basic template format uses `{{ .variableName }}` as the interpolation format. -- cgit 1.4.1