Sha256: 0c50f6ed43fa495666a775fe49e241a9d7ef4f33047e42a77cd6dc0136f5537f

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

{% include partials/header.html %}

  <h1 class="display-5 mb-4 text-break">
    {% if page.title %}
      {{ page.title }}
    {% else %}
      {{ site.data.lang[site.conference.lang].live.stream | default: "Live Streams" }}
    {% endif %}
  </h1>

  {{ content }}

  {%- assign nbr_streams = 0 -%}
  {%- for room in site.rooms -%}
    {%- if room.live -%}
      {%- assign mod_nbr_streams = nbr_streams | modulo: 2 -%}
      {%- if mod_nbr_streams == 0 %}
  <div class="row">
      {%- endif %}

    <div class="col-md mb-4">
      <h3>{{ room.name }}</h3>
      <div class="embed-responsive embed-responsive-16by9">
        {%- include partials/get_room_live_href.html %}
        <iframe class="embed-responsive-item" src="{{ room_live_href }}" allowfullscreen></iframe>
      </div>
    </div>

      {%- if mod_nbr_streams == 1 %}
  </div>
      {%- endif -%}

      {%- assign nbr_streams = nbr_streams | plus: 1 -%}
    {%- endif -%}
  {%- endfor %}

  {% assign mod_nbr_streams = nbr_streams | modulo: 2 %}
  {%- if mod_nbr_streams == 1 %}
    <div class="col-md"></div>
  </div>
  {%- endif %}

{% include partials/footer.html %}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
devops4lib-jekyll-theme-conference-0.0.1 _layouts/stream-overview.html
jekyll-theme-conference-3.6.6 _layouts/stream-overview.html
jekyll-theme-conference-3.6.5 _layouts/stream-overview.html