mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 00:41:27 +00:00
9 lines
198 B
HTML
9 lines
198 B
HTML
|
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
||
|
{{ with $related }}
|
||
|
<h2>See Also</h2>
|
||
|
<ul>
|
||
|
{{ range . }}
|
||
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
{{ end }}
|