Fork of the Hugo theme hyde-hyde that introduces some necessary cleanup and changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
309 B

{{ if .Site.Params.relatedPosts }}
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<div class="post__related">
<!-- related content -->
<h2>Related Articles</h2>
<ul class="related-posts">
{{ partial "posts-list.html" . }}
</ul>
</div>
{{ end }}
{{ end }}