From 8f0981a3f3bda14280bb350885ddbd183ab8d84b Mon Sep 17 00:00:00 2001 From: Eva Date: Sat, 20 May 2023 20:33:02 +0200 Subject: [PATCH] client/posts: different approach for flash background Something weird was happening during templating, it worked but would surround the style attribute with %%%template1 and %%%template3 --- client/html/post_content.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/html/post_content.tpl b/client/html/post_content.tpl index f74a3bb0..aaecdf24 100644 --- a/client/html/post_content.tpl +++ b/client/html/post_content.tpl @@ -1,4 +1,4 @@ -
style='background-image: url(<%- ctx.post.thumbnailUrl %>)'<% } %>> +
'> <% if (['image', 'animation'].includes(ctx.post.type)) { %>