MitseaBlog/themes/hugo-theme-stack/layouts/partials/article-list/default.html

4 lines
230 B
HTML
Raw Permalink Normal View History

2022-10-11 17:34:41 +08:00
{{ $image := partialCached "helper/image" (dict "Context" . "Type" "articleList") .RelPermalink "articleList" }}
<article class="{{ if $image.exists }}has-image{{ end }}">
{{ partial "article/components/header" . }}
</article>