Skip to content

Commit 149d2e4

Browse files
committed
change post view
1 parent 3ed4a3c commit 149d2e4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

content/post/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 最新资讯
33

44
# Listing view
5-
view: card
5+
view: compact
66

77
# Optional banner image (relative to `assets/media/` folder).
88
banner:

layouts/partials/views/compact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
{{ end }}
7474

7575
</div>
76-
<div class="ml-3" style="width: 300px; height: 220px;">
76+
<div class="ml-3">
7777
{{ $resource := partial "blox-core/functions/get_featured_image.html" $item }}
7878
{{ with $resource }}
7979
{{ $image := .Resize "600x400" }}

0 commit comments

Comments
 (0)