Sha256: f2a081b859ee2d0b49320030e59b26e01ff85d3eb6d3e64117e55aea7334cf00

Contents?: true

Size: 1022 Bytes

Versions: 1

Compression:

Stored size: 1022 Bytes

Contents

{% assign html = site.data.sponsors.carousel %}
{% assign sponsors = site.data.sponsors.db %}

<div class="row p-5 bg-light text-body-emphasis justify-content-between">

  <div class="col-sm-12 col-lg-6">
    <h4><i class="{{ html.icon }}"></i> {{ html.title }}</h4>
    <p class="lead">{{ html.message }}</p>
  </div>

  <div class="col-sm-12 col-lg-6">
    <div id="carouselSponsorSlidesOnly" class="carousel slide carousel-fade" data-bs-ride="carousel">
      <div class="carousel-inner">
        {% for sponsor in sponsors %}
        {% if sponsor.is_active != false %}
        <div class="carousel-item{% if forloop.first %} active{% endif %}">
          <div class="card p-2 text-center">
            <a href="{{ sponsor.address }}"><img src="{{ site.url }}{{ site.baseurl }}/assets/img/sponsors/{{ sponsor.logo }}" class="card-img-top" style="height: 60px; width: auto;" alt="{{ sponsor.name }}"></a>
          </div>
        </div>
        {% endif %}
        {% endfor %}
      </div>
    </div>
  </div>

</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-centos-2.15.0 _includes/sponsors/carousel.html