GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit fe72d3bd authored by Hiro's avatar Hiro 🏄
Browse files

Use mobile image

parent cc6a865a
......@@ -15,7 +15,8 @@
<div class="row pb-5">
<h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
<img src="{{ this.header_image | asseturl }}" class="donate-header-image" />
{% set header_mobile = this.header_image + "-mobile" %}
{% set idx = this.header_image.index(".png") %}
{% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[:idx] %}
<img src="{{ header_mobile | asseturl }}" class="donate-header-image-mobile" />
</div>
</div>
......
Markdown is supported
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