Sha256: ef415eb11bd4f1a4dd0e9c277939c0219c31600a73f190b6714ab7e9227d0798
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
<div class="c-program-candidate-badge{% if include.leader %} c-program-candidate-badge--leader{% endif %}"> {% assign person = site.people | where_exp:"item","item.uid contains include.candidate" | first %} <a class="c-program-candidate-badge__body" href="{{ person.url | relative_url }}"> <div class="c-program-candidate-badge__avatar"> <span class="c-program-candidate-badge__rank"><span>{{ include.position }}.</span></span> {% capture img %}{% if person.img %}{% asset '{{ person.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.candidate.fullname }}</span></h4> <strong class="c-program-candidate-badge__profession">{{ include.candidate.profession }}</strong> <p class="c-program-candidate-badge__bio">{{ include.candidate.candidateDescription }}</p> </div> </a> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-pirati-3.5.0 | _includes/candidate-badge.html |
jekyll-theme-pirati-3.4.0 | _includes/candidate-badge.html |