fix link to the index function

This commit is contained in:
P.F. Hawkins 2020-06-02 11:51:47 -04:00 committed by Bjørn Erik Pedersen
parent 1eab0cbeaa
commit dc82309b96

View File

@ -357,7 +357,7 @@ The following two examples are functionally the same:
### Example 2: `index`
The following accesses the page parameter called "disqus_url" and escapes the HTML. This example also uses the [`index` function][index], which is built into Go Templates:
The following accesses the page parameter called "disqus_url" and escapes the HTML. This example also uses the [`index` function][index-function], which is built into Go Templates:
```go-html-template
{{ index .Params "disqus_url" | html }}