fix link to the index function

This commit is contained in:
P.F. Hawkins authored and Bjørn Erik Pedersen committed 2020-06-02 17:53:33 +02:00
1 parent 1eab0cbeaa
commit dc82309b96
1 file changed
+1 -1
+1 -1
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 }}