Sha256: 147fb162b09342411e39ff1bcd3a9c76fa79772a3462d57e341fb6dbf5dbbf6a

Contents?: true

Size: 1.35 KB

Versions: 3

Compression:

Stored size: 1.35 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.candidate.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

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-pirati-4.2.1 _includes/candidate-badge.html
jekyll-theme-pirati-4.2.0 _includes/candidate-badge.html
jekyll-theme-pirati-4.1.0 _includes/candidate-badge.html