We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 046168f + 34cde55 commit ce10c55Copy full SHA for ce10c55
2 files changed
apps/about/static/about/img/ally-placeholder.png
18.1 KB
apps/about/templates/about/allies.html
@@ -18,7 +18,12 @@ <h1>Aliados</h1>
18
{% for ally in allies %}
19
<div class="ally-block anchor" id="{{ ally.name|slugify }}">
20
<h2 class="dyn-anchor-heading">
21
- <img class="logo" src="{{ ally.logo.url }}"> {{ ally.name }}
+ {% if ally.logo %}
22
+ <img class="logo" src="{{ ally.logo.url }}">
23
+ {% else %}
24
+ <img class="logo" src="{{ assets | get_asset_key:'about/img/ally-placeholder.png' }}">
25
+ {% endif %}
26
+ {{ ally.name }}
27
<a class="dyn-anchor-link" href="#{{ ally.name|slugify }}"><i class="fas fa-link"></i></a>
28
</h2>
29
<p class="description"><i class="fas fa-quote-left quote"></i> {{ ally.description }} <i class="fas fa-quote-right quote"></i></p>
0 commit comments