From af78cbd86a331f28e997047be9901fde508a3e2b Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Sat, 20 Sep 2025 16:11:01 +0200 Subject: [PATCH] show preview card --- src/main/resources/templates/profil.vm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/profil.vm b/src/main/resources/templates/profil.vm index 9a4d719..4d758cf 100644 --- a/src/main/resources/templates/profil.vm +++ b/src/main/resources/templates/profil.vm @@ -19,7 +19,7 @@ } .container { - max-width: 600px; + max-width: 960px; margin: 0 auto; background: #282c37; min-height: 100vh; @@ -218,7 +218,7 @@ .media-item img { width: 100%; - height: 200px; + height: 360px; object-fit: cover; cursor: pointer; } @@ -335,6 +335,16 @@ #end +#else +#if( $post.card ) +
+
+
+ $post.card.description +
+
+
+#end #end
🔄 $post.reblogs_count @@ -402,6 +412,16 @@ #end
+#else +#if( $post.card ) +
+
+
+ $post.card.description +
+
+
+#end #end
🔄 $post.reblogs_count