Sha256: 964b3b96a6814e6e61734179ecdc3a82dbe9098585e84a11b7b3241046496d2d

Contents?: true

Size: 1.54 KB

Versions: 4

Compression:

Stored size: 1.54 KB

Contents

<div class="large-6 small-12 small-colalapse columns end o-section-mediumdown-divided-small">
  <div class="o-media o-media--top">

    {% if item.img %}
    <div class="o-media__image o-media__image--lgspace">
      <object data= "{{ item.img | prepend: '/assets/img/' | relative_url }}" type="image/jpg">
        <div class="o-media__image o-media__image--lgspace">
          <img src="{{ '/assets/img/people/ppp.jpg' | relative_url }}" alt="{{item.title}}"> 
        </div>
      </object>
    </div>
    {% else %}
        <div class="o-media__image o-media__image--lgspace">
          <img src="{{ '/assets/img/people/ppp.jpg' | relative_url }}" alt="{{item.title}}"> 
        </div>
    {% endif %}

    <div class="o-media__body">
      <h2 class="o-media__headline">
        {% if item.url contains 'http' %}
          {% assign url = item.url %}
        {% else %}
          {% assign url = item.url | relative_url %}
        {% endif %}
        <a href="{{url}}">{% if item.name %}{{item.name}}{% else %}{{item.title}}{% endif %}</a>
      </h2>
      <p>
        {{item.description}}
      </p>
      
      {% if item.asistent %}
      <p>
        Asistent/ka: {{item.asistent.name}}<br />
        {{item.asistent.tel}}<br />
        <a href="mailto:{{item.asistent.mail}}">{{item.asistent.mail}}</a><br>
      </p>

      {% else %}
      {% if item.mob or item.mail %}
      <p>
        {{item.mob}}<br>
        <a href="mailto:{{item.mail | first}}">{{item.mail | first}}</a><br>
      </p>
      
      {% endif %}
      {% endif %}
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-pirati-1.2.0 _includes/people/item.html
jekyll-theme-pirati-1.1.1 _includes/people/item.html
jekyll-theme-pirati-1.1.0 _includes/people/item.html
jekyll-theme-pirati-1.0.0 _includes/people/item.html