hugo-theme-hyde-hyde/layouts/partials/page-single/post-related.html

11 lines
266 B
HTML
Raw Normal View History

{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related -}}
2018-07-16 03:22:00 +00:00
<div class="post__related">
<!-- related content -->
<h2>Related Articles</h2>
<ul class="related-posts">
{{ partial "posts-list.html" . }}
</ul>
</div>
{{- end }}