[tor-commits] [community/master] more edits for https://gitlab.torproject.org/tpo/web/community/-/issues/234

emmapeel at torproject.org emmapeel at torproject.org
Wed Oct 27 09:47:56 UTC 2021


commit dcae59f54a61c43c0a64a0b2c7b63325994e3011
Author: emma peel <emma.peel at riseup.net>
Date:   Wed Oct 27 11:47:43 2021 +0200

    more edits for https://gitlab.torproject.org/tpo/web/community/-/issues/234
---
 templates/home.html     | 2 +-
 templates/outreach.html | 2 +-
 templates/training.html | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/home.html b/templates/home.html
index f95a873..b81314c 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -14,7 +14,7 @@
                 <h2 class="card-title ">{{ _(child.title) }}</h2>
                 <p class="card-text">{{ _(child.subtitle) }}</p>
                 <div class="illo-container">
-                  <img src="/static/images/home/png{{ this.path }}.png" class="img-fluid" alt="{{ _(child.section) }}" />
+                  <img src="/static/images/home/png/{{ child.section_id }}.png" class="img-fluid" alt="{{ _(child.section) }}" />
                 </div>
               </div>
               <a href="{{ child.path|url }}" class="btn btn-primary">{{ _(child.cta) }}</a>
diff --git a/templates/outreach.html b/templates/outreach.html
index a640059..4a606f3 100644
--- a/templates/outreach.html
+++ b/templates/outreach.html
@@ -4,7 +4,7 @@
       {{ this.body }}
     </div>
     <div class="col-lg-5">
-      <img src="/static/images/home/png/{{ this.section_id }}.png" class="img-fluid" alt="{{ _(this.section) }}" />
+      <img src="/static/images/home/png{{ this.path }}.png" class="img-fluid" alt="{{ _(this.section) }}" />
     </div>
   </div>
   <div class="row">
diff --git a/templates/training.html b/templates/training.html
index 39d6df0..c3b5a5b 100644
--- a/templates/training.html
+++ b/templates/training.html
@@ -4,7 +4,7 @@
       {{ this.body }}
     </div>
     <div class="col-lg-5">
-      <img src="/static/images/home/png/{{ this.section_id }}.png" class="img-fluid" alt="{{ _(this.section) }}" />
+      <img src="/static/images/home/png{{ this.path }}.png" class="img-fluid" alt="{{ _(this.section) }}" />
     </div>
   </div>
   <div class="row">



More information about the tor-commits mailing list