Sha256: 15a0164833e0e3910a951e2c1c47a42395d8d77e4415264bb9fa3807d5aa11b2

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

<section class="hero {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_style %} {{page.hero_style}} {% else %} is-dark {% endif %}" {% if page.hero_image %} style="background: url('{{ page.hero_image }}') no-repeat center center; background-size: cover;" {% endif %}>
    <div class="hero-body {% if page.hero_darken %} hero-darken {% endif %} py-small">
        <div class="container">
            <div class="columns is-4 is-vcentered">
				{% if page.image %}
                    <div class="column is-one-third">
                        <img src="{{page.image}}" class="thumbnail mx-auto is-rounded"/>
                    </div>
                {% endif %}

                <div class="column">
					<div class="mb-medium">
						<h1 class="title is-1">{{ page.title }}</h1>
						<p class="subtitle is-3">{{ page.subtitle }}</p>
					</div>

                    {% if page.hero_link %}
                        <a href="{{ page.hero_link | relative_url }}" class="button {%if page.hero_link_style %} {{ page.hero_link_style }} {% else %} is-light {% endif %} is-outlined is-rounded is-medium">{{ page.hero_link_text }}</a>
                    {% endif %}
                </div>
            </div>
        </div>
    </div>
</section>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-opentoolbox-1.1.0 _includes/banner.html
jekyll-theme-opentoolbox-1.0.8 _includes/banner.html