Sha256: 91b60788cef8e2b8413c1ba4852f5c990e7ac76953d02a1edea4b0aa4cac7ae6

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

{% if page.callouts %}
    {% assign callouts=site.data.[page.callouts] %}
    <section class="hero is-medium {{ callouts.style }}">
        <div class="hero-body">
            <div class="container">
                <div class="columns is-multiline is-centered">
                    {% for callout in callouts.items %}
                        <div class="column is-4 has-text-centered">
                            {% if callout.icon %}
                            <div class="icon is-large">
                                <i class="fas {{ callout.icon }} fa-4x"></i>
                            </div>
                            {% endif %}
                            <p class="title is-5">{{ callout.title }}</p>
                            <p class="subtitle is-5">{{ callout.subtitle }}</p>
                            
                            {% if callout.description %}
                            <div class="content">
                                <p>{{ callout.description | newline_to_br }}</p>
                            </div>
                            {% endif %}

                            {% if callout.call_to_action_name %}
                            <a href="{{ callout.call_to_action_link | prepend: site.baseurl }}" class="button is-primary">
                                {{ callout.call_to_action_name }}
                            </a>
                            {% endif %}
                        </div>
                    {% endfor %}
                </div>
            </div>
        </div>
    </section>
{% endif %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bulma-clean-theme-0.5.6 _includes/callouts.html
bulma-clean-theme-0.5.5 _includes/callouts.html
bulma-clean-theme-0.5.4 _includes/callouts.html