[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 97551d93c84a76b1b7e2520e841e5c23b6b632a9
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Wed Mar 24 16:10:16 2021 +0100

    Edit model and block plus templates. Layout is maybe a reserved field?
---
 content/training/resources/tor-training/contents.lr | 3 ++-
 templates/blocks/slide.html                         | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/training/resources/tor-training/contents.lr b/content/training/resources/tor-training/contents.lr
index 6f15492..c2b1f81 100644
--- a/content/training/resources/tor-training/contents.lr
+++ b/content/training/resources/tor-training/contents.lr
@@ -58,5 +58,6 @@ By running a Tor relay you can help make the Tor network:
 #### slide ####
 title: Types of Relays
 ----
-slide-layout: title
+slide-layout: title-slide
 ----
+background-image: /static/images/onion-white.png
diff --git a/templates/blocks/slide.html b/templates/blocks/slide.html
index 108b2ee..c803e68 100644
--- a/templates/blocks/slide.html
+++ b/templates/blocks/slide.html
@@ -1,4 +1,4 @@
-{% if this.slide-layout == "title" %}
+{% 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">
     <h3>{{ this.title }}</h3>
     <hr class="dark" />

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