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

hiro at torproject.org hiro at torproject.org
Wed Mar 24 16:31:23 UTC 2021


commit 89bfeba8e66d445d86f3667a774f7f3b4f85b921
Author: hiro <hiro at torproject.org>
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 %}





More information about the tor-commits mailing list