mirror of
https://github.com/torproject/community.git
synced 2024-11-23 01:39:50 +00:00
fix images when running on subfolders, as in the gitlabci environment
This commit is contained in:
parent
4e7b62f431
commit
89af17ffea
@ -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/{{ child.section_id }}.png" class="img-fluid" alt="{{ _(child.section) }}" />
|
||||
<img src="{{ ('/static/images/home/png/'+ child.section_id + '.png')|url }}" class="img-fluid" alt="{{ _(child.section) }}" />
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ child.path|url }}" class="btn btn-primary">{{ _(child.cta) }}</a>
|
||||
|
@ -37,7 +37,7 @@
|
||||
<div class="card mt-5">
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item">
|
||||
<a href="{{ this.parent|url }}">{{ _("Back to ") }}{{ this.parent.title }}</a>
|
||||
<a href="{{ this.parent|url }}">Back to {{ this.parent.title }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user