Sha256: aabe06149e0deefa281b29b3c5583cb42a005b33a4f319b5b36039488f222eb8
Contents?: true
Size: 669 Bytes
Versions: 17
Compression:
Stored size: 669 Bytes
Contents
{% assign party = site.data.parties | where: "uid", include.uid | first %} <div class="flex items-center"> {% if party.logoImg %} {% comment %}We expect an SVG format here to make things scalable{% endcomment %} {% if site.mediaStorage %} {% capture partyImg %}https://a.pirati.cz/{{ site.mediaStorage }}/img/{{ party.logoImg }}{% endcapture %} {%- else -%} {% capture partyImg %}{{ party.logoImg | prepend: "/assets/img/" | absolute_url }}{% endcapture %} {%- endif -%} {% include avatar.html class="w-6 mr-2" alt=party.name src=partyImg %} {% endif %} <span class="font-bold font-condensed">{{ party.name }}</span> </div>
Version data entries
17 entries across 17 versions & 2 rubygems