mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
docs: Fix related docs example
This commit is contained in:
1 parent
12c4491506
commit
17aa939ea7
1 file changed
+1
-1
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user