diff --git a/templates/modules/featured-post-card.html b/templates/modules/featured-post-card.html
index 2bf1811..bab1e3b 100644
--- a/templates/modules/featured-post-card.html
+++ b/templates/modules/featured-post-card.html
@@ -7,6 +7,11 @@
diff --git a/templates/modules/post-card.html b/templates/modules/post-card.html
index 1df5cde..37a94e0 100644
--- a/templates/modules/post-card.html
+++ b/templates/modules/post-card.html
@@ -12,6 +12,10 @@
diff --git a/templates/moments.html b/templates/moments.html
index f6b28e1..5c9aa56 100644
--- a/templates/moments.html
+++ b/templates/moments.html
@@ -58,6 +58,10 @@
瞬间
th:if="${#strings.equals(media.type,'PHOTO')}"
class="transform-gpu rounded-lg object-cover"
th:src="${media.url}"
+ th:srcset="|${thumbnail.gen(media.url, 's')} 400w,
+ ${thumbnail.gen(media.url, 'm')} 800w,
+ ${thumbnail.gen(media.url, 'l')} 1200w|"
+ sizes="(max-width: 1200px) 100vw, 1200px"
/>
图库
diff --git a/theme.yaml b/theme.yaml
index 1c44fbb..81dc915 100644
--- a/theme.yaml
+++ b/theme.yaml
@@ -19,7 +19,7 @@ spec:
settingName: "theme-earth-setting"
configMapName: "theme-earth-configMap"
version: 1.9.1
- requires: ">=2.8.0"
+ requires: ">=2.19.0"
license:
- name: "GPL-3.0"
url: "https://github.com/halo-dev/theme-earth/blob/main/LICENSE"