From dacdc1a9f9f64a854fb348c662251ed6a0838c6b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 Jan 2023 14:47:38 +0500 Subject: [PATCH] from server afisha --- themes/modern2/pages/new/afisha-post.htm | 43 ++++++++++++++++++++++-- themes/modern2/pages/new/group.htm | 2 ++ 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/themes/modern2/pages/new/afisha-post.htm b/themes/modern2/pages/new/afisha-post.htm index 7f37d5708..1a1b706ca 100644 --- a/themes/modern2/pages/new/afisha-post.htm +++ b/themes/modern2/pages/new/afisha-post.htm @@ -76,12 +76,49 @@ function onStart(){
-
- {% if post.featured_image %} - {{post.title}} + +
+
+
+ + + {% if post.more_photo|length > 0 %} + + {% for img in post.more_photo %} + +
+
+ {{post.title}} +
+
+ + {% endfor %} + + {% else %} + +
+
+ {{post.title}} +
+
+ {% endif %} + + + +
+ +
+ +
+
+ +
+
+ +
diff --git a/themes/modern2/pages/new/group.htm b/themes/modern2/pages/new/group.htm index aa9c5099e..76a50f04d 100644 --- a/themes/modern2/pages/new/group.htm +++ b/themes/modern2/pages/new/group.htm @@ -159,5 +159,7 @@ function onStart(){ {% put scripts %} + + {% endput %} \ No newline at end of file