mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
chore: modify archives
This commit is contained in:
parent
4f1e53d696
commit
b2672f73e8
@ -71,6 +71,7 @@
|
||||
|
||||
.full-width {
|
||||
width: 100%;
|
||||
max-width: 1024px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user