commit 3df44d08dd5712b85992e0e85982c9a73def853a Author: emma peel emma.peel@riseup.net Date: Fri Oct 29 12:34:37 2021 +0200
frontend fixes --- 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">