Skip to content

Commit

Permalink
docs: Another fix related docs example
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 23, 2023
1 parent cedd04d commit d5601e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/en/content-management/related.md
Expand Up @@ -88,13 +88,13 @@ weight = 80
{{ with $related }}
<h2>See Also</h2>
<ul>
{{ range . }}
{{ range $i, $p := . }}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ with .HeadingsFiltered }}
<ul>
{{ range . }}
{{ $link := printf "%s#%s" $.RelPermalink .ID | safeURL }}
{{ $link := printf "%s#%s" $p.RelPermalink .ID | safeURL }}
<li>
<a href="{{ $link }}">{{ .Title }}</a>
</li>
Expand Down

0 comments on commit d5601e8

Please sign in to comment.