mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-11 17:07:24 -04:00
docs: Fix related docs example
This commit is contained in:
parent
12c4491506
commit
17aa939ea7
@ -94,7 +94,7 @@ weight = 80
|
||||
{{ with .HeadingsFiltered }}
|
||||
<ul>
|
||||
{{ range . }}
|
||||
{{ $link := printf "%s#%s" $.RelPermalink .ID }}
|
||||
{{ $link := printf "%s#%s" $.RelPermalink .ID | safeURL }}
|
||||
<li>
|
||||
<a href="{{ $link }}">{{ .Title }}</a>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user