mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 01:31:28 +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 }}
|