Commit 10b564df authored by emmapeel's avatar emmapeel 🤖
Browse files

use url filter to generate relative urls. this makes the images show in all...

use url filter to generate relative urls. this makes the images show in all builds, including the ones done as subfolders
parent b2028193
Pipeline #18015 passed with stages
in 38 minutes and 31 seconds
......@@ -10,7 +10,7 @@
<div class="container">
<div class="row py-3">
<div class="col">
<img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/shallot.png'|asseturl }}" />
<img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/shallot.png'|url }}" />
</div>
<div class="col-sm-8">
<a class="h2 col-12 text-primary p-0" href="#shallot">Shallot Onion Member</a>
......@@ -20,7 +20,7 @@
</div>
<div class="row py-3">
<div class="col">
<img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/vidalia.png'|asseturl }}" />
<img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/vidalia.png'|url }}" />
</div>
<div class="col-sm-8">
<a class="h2 col-12 text-primary p-0" href="#vidalia">Vidalia Onion Member</a>
......@@ -30,7 +30,7 @@
</div>
<div class="row py-3">
<div class="col">
<img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/green.png'|asseturl }}" />
<img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/green.png'|url }}" />
</div>
<div class="col-sm-8">
<a class="h2 col-12 text-primary p-0" href="#green">Green Onion Member</a>
......@@ -81,28 +81,28 @@
<div class="col-md-3 col-xl-3 my-2">
<div class="card border-1 h-100">
<a href="https://www.avast.com" target="_blank" title="Avast">
<img class="card-img-top" src="{{ '/static/images/membership/logos/avast.png'|asseturl }}" alt="Avast">
<img class="card-img-top" src="{{ '/static/images/membership/logos/avast.png'|url }}" alt="Avast">
</a>
</div>
</div>
<div class="col-md-3 col-xl-3 my-2">
<div class="card border-1 h-100">
<a href="https://team-cymru.com" target="_blank" title="Cymru">
<img class="card-img-top" src="{{ '/static/images/membership/logos/cymru.png'|asseturl }}" alt="Cymru">
<img class="card-img-top" src="{{ '/static/images/membership/logos/cymru.png'|url }}" alt="Cymru">
</a>
</div>
</div>
<div class="col-md-3 col-xl-3 my-2">
<div class="card border-1 h-100">
<a href="https://mullvad.net" target="_blank" title="MullvadVPN">
<img class="card-img-top" src="{{ '/static/images/membership/logos/mullvad.png'|asseturl }}" alt="MullvadVPN">
<img class="card-img-top" src="{{ '/static/images/membership/logos/mullvad.png'|url }}" alt="MullvadVPN">
</a>
</div>
</div>
<div class="col-md-3 col-xl-3 my-2">
<div class="card border-1 h-100">
<a href="https://samouraiwallet.com" target="_blank" title="Samourai Wallet">
<img class="card-img-top" src="{{ '/static/images/membership/logos/samourai.png'|asseturl }}" alt="Samourai Wallet">
<img class="card-img-top" src="{{ '/static/images/membership/logos/samourai.png'|url }}" alt="Samourai Wallet">
</a>
</div>
</div>
......@@ -140,7 +140,7 @@
</div>
</div>
</div>
<div class="col-12 py-5 bg-membership" style="background-image: url('{ /static/images/membership/header.png|asseturl }'); background-size:cover;">
<div class="col-12 py-5 bg-membership" style="background-image: url('{ /static/images/membership/header.png|url }'); background-size:cover;">
<div class="row col-sm-8 py-5 text-center mx-auto"/>
<h2 class="bg-white text-primary text-center p-4 mx-auto my-0">Become a Member</h2>
<p class="bg-white text-center p-4">{ _("Join the Tor Project Membership Program and demonstrate your commitment to privacy online and become more deeply involved in the Tor community. Email us at <mark>giving@torproject.org.</mark> to get started.") }</p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment