commit 89bfeba8e66d445d86f3667a774f7f3b4f85b921 Author: hiro hiro@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 %}
tor-commits@lists.torproject.org