[tor-commits] [community/staging] Edit slide template

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


commit 6fe35d217e07d88ea090b8164c3768584b42a5dd
Author: hiro <hiro at torproject.org>
Date:   Wed Mar 24 16:39:53 2021 +0100

    Edit slide template
---
 templates/blocks/slide.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/blocks/slide.html b/templates/blocks/slide.html
index b65f476..accf033 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" {% if this.background-image %} data-background-image="{{ this.background-image|asseturl }}" {% endif %} data-background-position="right bottom" data-background-size="3em">
+  <section class="title" data-background-color="white">
     <h3>{{ this.title }}</h3>
     <hr class="dark" />
     {% if this.subtitle %}
@@ -10,9 +10,9 @@
     {% endif %}
   </section>
 {% else %}
-<section {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
-  <h2>{{ this.title }}</h2>
-  {{ this.description }}
+  <section {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
+    <h2>{{ this.title }}</h2>
+    {{ this.description }}
 
-</section>
+  </section>
 {% endif %}





More information about the tor-commits mailing list