Sha256: f18193131e1122ac27f6ad4cda7bc87a235a12591339578eb365bc701b6ea0f3

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

<section class="hero is-primary is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}>
    <div class="hero-body">
        <div class="container">
            {% if page.title_above %}
                <h1 class="overtitle subtitle is-4">{{ page.title_above }}</h1>
            {% endif %}
            <h1 class="title is-1  {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
            {% if page.hero_image %}
                <img src="{{page.hero_image}}" alt="placeholder"  class="is-rounded is-hidden-mobile">
            {% endif %}
            <p class="subtitle is-4">{{ page.subtitle }}</p>
            {% if page.hero_link %}
                <a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
                    <span>{{ page.hero_link_text }}</span>
                    <span class="icon is-small">
                    <i class="fas fa-chevron-right fa-xs"></i>
                    </span>
                </a>
            {% endif %}
        </div>
    </div>
</section>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
intia-theme-0.1.7 _includes/hero.html