Sha256: db015f31cbdb18f2f43dd112c0f198d32bcf46645bf0febfb7daa7b5c5e97f29

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

{% capture label %}
    {% if include.item.name %}{{ include.item.name }}{% else %}{{ include.item.title }}{% endif %}
{% endcapture %}
{% if include.item.url contains 'http' %}
    {% assign url = include.item.url %}
{% else %}
    {% assign url = include.item.url | relative_url %}
{% endif %}
<div class="o-media o-media-list">
    <div class="o-media__image o-media__image--lgspace {% if include.imgStyle == 'round' %}o-media__image--round{% endif %}">
        {% if include.imgSize != 'big' %}
        {% else %}
        {% endif %}
    </div>
    <div class="o-media__body">
        <div class="o-media__body-inner {% if include.style == 'card' %}o-media__body-inner--padded{% endif %}">
            <h2 class="o-media__headline">
                <a href="{{ url }}">{{ label }}</a>
            </h2>
            {% unless include.showDescription == false %}
            <p>
                {% if include.description %}
                    {{ include.description }}
                {% else %}
                    {{ include.item.description }}
                {% endif %}
            </p>
            {% endunless %}

            {% unless include.showContactInfo == false %}
                {% if include.item.mob or include.item.mail %}
                    <p>
                        {% if include.item.mob %}
                            <i class="fa fa-phone"></i> <a href="tel:{{ include.item.mob }}">{{ include.item.mob }}</a>
                            <br>
                        {% endif %}
                        {% if include.item.mail %}
                            <i class="fa fa-envelope-o"></i> <a href="mailto:{{ include.item.mail }}">{{ include.item.mail }}</a>
                        {% endif %}
                    </p>
                {% endif %}
            {% endunless %}
        </div>
    </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-pirati-1.2.0 _includes/people/profile_badge.html