[tor-commits] [community/slideshow] Add and remove content from the slideshow to see if it has any issue with building

hiro at torproject.org hiro at torproject.org
Wed Mar 24 15:31:03 UTC 2021


commit 98d4fa667c0f37f1a393778d98b4b9997a1230cf
Author: hiro <hiro at torproject.org>
Date:   Wed Mar 24 16:31:01 2021 +0100

    Add and remove content from the slideshow to see if it has any issue with building
---
 content/training/resources/tor-training/contents.lr | 19 ++++++++++---------
 templates/blocks/slide.html                         |  2 +-
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/content/training/resources/tor-training/contents.lr b/content/training/resources/tor-training/contents.lr
index 2e5cc02..ab49640 100644
--- a/content/training/resources/tor-training/contents.lr
+++ b/content/training/resources/tor-training/contents.lr
@@ -60,7 +60,7 @@ title: Types of Relays
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 ---
 
 #### slide ####
@@ -115,7 +115,7 @@ title: Relay requirements
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -191,7 +191,7 @@ title: Technical setup
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -314,7 +314,7 @@ title: More about relays
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -352,7 +352,7 @@ title: Network diversity
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -375,7 +375,7 @@ title: More about exit relays
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -403,7 +403,7 @@ title: Running relays with others
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -453,7 +453,7 @@ title: Bad relays
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -492,7 +492,7 @@ title: How do I get help running a Tor relay?
 ----
 slide-layout: title-slide
 ----
-
+background-image: '/static/images/onion-white.png'
 
 
 #### slide ####
@@ -516,3 +516,4 @@ PGP FINGERPRINT
 ----
 slide-layout: title-slide
 ----
+background-image: '/static/images/onion-white.png'
diff --git a/templates/blocks/slide.html b/templates/blocks/slide.html
index 20d31af..313ff23 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 }}" {% endig %} data-background-position="right bottom" data-background-size="3em">
+  <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">
     <h3>{{ this.title }}</h3>
     <hr class="dark" />
     {% if this.subtitle %}



More information about the tor-commits mailing list