Sha256: 2e3e95b2d5630ea8b86c8b9240f9baeb597ca4a2363a8106afcbd9c58b04e106

Contents?: true

Size: 1.73 KB

Versions: 26

Compression:

Stored size: 1.73 KB

Contents

<div class="carousel home slide row" id="bootstrap-carousel">
    <ol class="carousel-indicators">
        {% for item in include.object.items %}
            <li data-slide-to="{{forloop.index}}" data-target="#bootstrap-carousel" 
            {% if forloop.first %}class="active"{% endif %}></li>
        {% endfor %}
    </ol>
    <div class="carousel-inner">
        {% for slide in include.object.items %}
        <div class="carousel-item darken {% if forloop.first %}active{% endif %}">
<div markdown="1">
{% assign slide_image = slide.image.path | replace: '/assets/images/','' %}
{% picture blog {{slide_image}} alt=slide.image.alt %}
</div>
            <div class="carousel-caption flex-container">
                <div class="flex-content">
                    <h4 class="responsive-text-large">
                        {{slide.title}}
                    </h4>
                    {% if slide.text %}
                    <p class="responsive-text">
                        {{slide.text}}
                    </p>
                    {% endif %}
                    {% if slide.buttons %}
                        {% for btn in slide.buttons %}
                            <a class="btn btn-primary" href="{{btn.url}}">{{btn.title}}</a>
                        {% endfor %}
                    {% endif %}
                </div>
            </div>
        </div>
        {% endfor %}
    </div> 
    <a class="carousel-control-prev" href="#bootstrap-carousel" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
    <span class="sr-only">Previous</span></a>
    <a class="carousel-control-next" href="#bootstrap-carousel" data-slide="next">
    <span class="carousel-control-next-icon"></span>
    <span class="sr-only">Next</span></a>
</div>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
seriously_simple_static_starter-0.7.0 _includes/slider.html
seriously_simple_static_starter-0.6.7 _includes/slider.html
seriously_simple_static_starter-0.6.6 _includes/slider.html
seriously_simple_static_starter-0.6.5 _includes/slider.html
seriously_simple_static_starter-0.6.4 _includes/slider.html
seriously_simple_static_starter-0.6.3 _includes/slider.html
seriously_simple_static_starter-0.6.2 _includes/slider.html
seriously_simple_static_starter-0.6.1 _includes/slider.html
seriously_simple_static_starter-0.5.1 _includes/slider.html
seriously_simple_static_starter-0.5.0 _includes/slider.html
seriously_simple_static_starter-0.4.0 _includes/slider.html
seriously_simple_static_starter-0.3.1 _includes/slider.html
seriously_simple_static_starter-0.3.0 _includes/slider.html
seriously_simple_static_starter-0.2.9.1 _includes/slider.html
seriously_simple_static_starter-0.2.9 _includes/slider.html
seriously_simple_static_starter-0.2.8 _includes/slider.html
seriously_simple_static_starter-0.2.7 _includes/slider.html
seriously_simple_static_starter-0.2.6 _includes/slider.html
seriously_simple_static_starter-0.2.5 _includes/slider.html
seriously_simple_static_starter-0.2.4 _includes/slider.html