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

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



commit 6fe35d217e07d88ea090b8164c3768584b42a5dd
Author: hiro <hiro@xxxxxxxxxxxxxx>
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 %}

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