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