mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-12-21 12:57:54 +01:00
13 lines
No EOL
480 B
HTML
13 lines
No EOL
480 B
HTML
<aside class="widget related-contents--wrapper">
|
|
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
|
{{ with $related }}
|
|
<h1 class="widget-title">Related contents</h1>
|
|
<div class="related-contents">
|
|
<div class="flex article-list--tile">
|
|
{{ range . }}
|
|
{{ partial "article-list/tile" (dict "context" . "size" "250x350") }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
</aside> |