mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
This commit is contained in:
@@ -77,9 +77,9 @@ produces this HTML:
|
||||
|
||||
Get the permalink to a heading by appending the ID to the path when using the `ref` or `relref` shortcodes:
|
||||
|
||||
```md
|
||||
{{</* ref "document.md#reference */>}}
|
||||
{{</* relref "document.md#reference */>}}
|
||||
```go-html-template
|
||||
{{</* ref "document.md#reference" */>}}
|
||||
{{</* relref "document.md#reference" */>}}
|
||||
```
|
||||
|
||||
Generate a custom heading ID by including an attribute. For example:
|
||||
|
Reference in New Issue
Block a user