Sha256: 713756002383932f2be81ac74f8078e689f644533630fb716034bbf5d0cd47fb
Contents?: true
Size: 1.36 KB
Versions: 9
Compression:
Stored size: 1.36 KB
Contents
<div class="c-program-candidate-badge{% if include.leader %} c-program-candidate-badge--leader{% endif %}"> <a class="c-program-candidate-badge__body" href="{{ include.candidatePage.url | relative_url }}"> <div class="c-program-candidate-badge__avatar"> <span class="c-program-candidate-badge__rank"><span>{{ include.rank }}.</span></span> {% capture img %}{% if include.candidatePage.img %}{% asset '{{ include.candidatePage.img }}' magick:resize='240x240^' magick:gravity='center' magick:crop='240x240+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %} <img src="{{ img }}" alt="{{ include.candidate.fullname }}" class="c-program-candidate-badge__avatar-image"> </div> <div class="c-program-candidate-badge__description"> <h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{ include.candidatePage.fullname }}</span></h4> <strong class="c-program-candidate-badge__profession"> {% if include.candidate.age %} {{ include.candidate.age }} let, {% endif %} {{ include.candidate.profession }}{% if include.candidate.party %}, {{ include.candidate.party }} {% endif %} </strong> <p class="c-program-candidate-badge__bio">{{ include.candidate.description }}</p> </div> </a> </div>
Version data entries
9 entries across 9 versions & 1 rubygems