Rename related partial to relatedposts.
This commit is contained in:
parent
2bea24168e
commit
24e8b00ad3
1 changed files with 1 additions and 1 deletions
11
layouts/partials/relatedposts.html
Normal file
11
layouts/partials/relatedposts.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<aside class="related layout__related">
|
||||
{{ $related := site.RegularPages.Related . | first 3 -}}
|
||||
{{ with $related -}}
|
||||
<h2>{{ i18n "string_see_also" }}</h2>
|
||||
<ul>
|
||||
{{ range . -}}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end -}}
|
||||
</ul>
|
||||
{{ end -}}
|
||||
</aside>
|
||||
Loading…
Reference in a new issue