mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
docs: Fix related docs example
This commit is contained in:
committed by
GitHub
parent
4bf91b9759
commit
cedd04db31
@@ -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>
|
||||
|
Reference in New Issue
Block a user