mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Fix related docs example
This commit is contained in:
parent
4bf91b9759
commit
cedd04db31
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ weight = 80
|
||||||
{{ with .HeadingsFiltered }}
|
{{ with .HeadingsFiltered }}
|
||||||
<ul>
|
<ul>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $link := printf "%s#%s" $.RelPermalink .ID }}
|
{{ $link := printf "%s#%s" $.RelPermalink .ID | safeURL }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ $link }}">{{ .Title }}</a>
|
<a href="{{ $link }}">{{ .Title }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue