mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +00:00
fix link to the index function
This commit is contained in:
1 parent
1eab0cbeaa
commit
dc82309b96
1 file changed
+1
-1
@@ -357,7 +357,7 @@ The following two examples are functionally the same:
|
|||||||
|
|
||||||
### Example 2: `index`
|
### 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
|
```go-html-template
|
||||||
{{ index .Params "disqus_url" | html }}
|
{{ index .Params "disqus_url" | html }}
|
||||||
|
|||||||
Reference in new issue
Block a user