[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [community/slideshow] Edit model and block plus templates. Layout is maybe a reserved field?



commit 89bfeba8e66d445d86f3667a774f7f3b4f85b921
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Wed Mar 24 16:12:21 2021 +0100

    Edit model and block plus templates. Layout is maybe a reserved field?
---
 templates/blocks/slide.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/blocks/slide.html b/templates/blocks/slide.html
index c803e68..e9434a1 100644
--- a/templates/blocks/slide.html
+++ b/templates/blocks/slide.html
@@ -1,5 +1,5 @@
-{% if this.slide-layout == "title-slide" %}
-  <section class="title" data-background-color="white" data-background-image="{{ this.image|asseturl }}" data-background-position="right bottom" data-background-size="3em">
+{% if this.slide-layout == 'title-slide' %}
+  <section class="title" data-background-color="white" data-background-image="{{ this.background-image|asseturl }}" data-background-position="right bottom" data-background-size="3em">
     <h3>{{ this.title }}</h3>
     <hr class="dark" />
     {% if this.subtitle %}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits