docs: Add tables of content to all documentation files
This commit is contained in:
parent
4adc8f2c4c
commit
d7569abcca
5 changed files with 68 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue