Sha256: d722c559881f393f4f35866304ecd8c661d8bfb89d61b6e59e4e38c99c612592

Contents?: true

Size: 1.42 KB

Versions: 27

Compression:

Stored size: 1.42 KB

Contents

<div class="c-program-candidate-badge">
  <a class="c-program-candidate-badge__body" href="{{ include.candidatePage.url | relative_url }}">
      <span class="c-program-candidate-badge__rank"><span>{{ include.rank }}</span></span>
      <div class="c-program-candidate-badge__avatar">
          {% capture img %}{% if include.candidatePage.img %}{% asset '{{ include.candidatePage.img }}' magick:resize='225x225^' magick:gravity='center' magick:crop='225x225+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %}
          <img src="{{ img }}" alt="{% include people/fullname.html person=include.candidatePage plain=true %}" class="c-program-candidate-badge__avatar-image">
      </div>
      <div class="c-program-candidate-badge__description">
          <h4 class="c-program-candidate-badge__name"><span class="c-headline-anchor">{% include people/fullname.html person=include.candidatePage %}</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>
          {% if include.candidate.description %}
          <p class="c-program-candidate-badge__bio">{{ include.candidate.description }}</p>
          {% endif %}
      </div>
  </a>
</div>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
jekyll-theme-pirati-7.6.2 _includes/candidate-badge.html
jekyll-theme-pirati-7.6.1 _includes/candidate-badge.html
jekyll-theme-pirati-7.6.0 _includes/candidate-badge.html
jekyll-theme-pirati-7.5.0 _includes/candidate-badge.html
jekyll-theme-pirati-7.4.0 _includes/candidate-badge.html
jekyll-theme-pirati-7.3.0 _includes/candidate-badge.html
jekyll-theme-pirati-7.2.0 _includes/candidate-badge.html
jekyll-theme-pirati-7.1.1 _includes/candidate-badge.html
jekyll-theme-pirati-7.0.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.9.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.8.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.7.2 _includes/candidate-badge.html
jekyll-theme-pirati-6.7.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.6.2 _includes/candidate-badge.html
jekyll-theme-pirati-6.6.1 _includes/candidate-badge.html
jekyll-theme-pirati-6.6.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.5.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.4.0 _includes/candidate-badge.html
jekyll-theme-pirati-6.3.1 _includes/candidate-badge.html
jekyll-theme-pirati-6.3.0 _includes/candidate-badge.html