mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Another fix related docs example
This commit is contained in:
parent
cedd04db31
commit
d5601e8391
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue