restore image loading

This commit is contained in:
2025-09-23 13:58:55 +02:00
parent 864a1f4aef
commit 8b7e36e65a
4 changed files with 28 additions and 369 deletions
+8 -2
View File
@@ -19,7 +19,7 @@
}
.container {
max-width: 960px;
max-width: 800px;
margin: 0 auto;
background: #282c37;
min-height: 100vh;
@@ -218,7 +218,7 @@
.media-item img {
width: 100%;
height: 360px;
height: 240px;
object-fit: cover;
cursor: pointer;
}
@@ -288,6 +288,12 @@
#foreach( $post in $page.timeline )
<div class="post">
#set ( $image_class = 'single' )
#if ( $post.media.size() > 1)
#set ( $image_class = 'double' )
#end
#if ( $post.media.size() > 2)
#set ( $image_class = 'multiple' )
#end
#set ( $post_date = $dateformatter.format( $post.createdAt ) )
#if ( $post.pinned )
<div class="boost-indicator">📌 Angeheftet</div>