chore: modify archives

This commit is contained in:
aka 2023-11-04 16:51:27 +08:00
parent 4f1e53d696
commit b2672f73e8
2 changed files with 3 additions and 2 deletions

View File

@ -71,6 +71,7 @@
.full-width {
width: 100%;
max-width: 1024px;
}
}

View File

@ -12,7 +12,7 @@
</div>
{{- $image := partialCached "helper/image" (dict "Context" . "Type" "articleList") .RelPermalink "articleList" -}}
{{ if $image.exists }}
<!-- {{ if $image.exists }}
<div class="article-image">
{{ if $image.resource }}
{{- $Permalink := $image.resource.RelPermalink -}}
@ -35,6 +35,6 @@
<img src="{{ $image.permalink }}" loading="lazy" alt="Featured image of post {{ .Title }}" />
{{ end }}
</div>
{{ end }}
{{ end }} -->
</a>
</article>