mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
content: Fix typo
This commit is contained in:
@@ -347,7 +347,7 @@ A _render hook_ template overrides the conversion of Markdown to HTML.
|
||||
|
||||
For example, the _render hook_ template below adds an anchor link to the right of each heading.
|
||||
|
||||
```go-html-template {file="layouts/_markup/heading.html"}
|
||||
```go-html-template {file="layouts/_markup/render-heading.html"}
|
||||
<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="{{ . }}" {{- end }}>
|
||||
{{ .Text }}
|
||||
<a href="#{{ .Anchor }}">#</a>
|
||||
|
||||
Reference in New Issue
Block a user