Sha256: 2a2e96410b1cf735417446e389f0841d3546a117e20f9b253c867017695e524d

Contents?: true

Size: 1.08 KB

Versions: 9

Compression:

Stored size: 1.08 KB

Contents

{% include partials/header.html %}

  <h1 class="display-5 mb-4">
    {% 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">
      <h3>{{ room.name }}</h3>
      <div class="embed-responsive embed-responsive-16by9">
        <iframe class="embed-responsive-item" src="{{ room.live }}" 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

9 entries across 9 versions & 1 rubygems

Version Path
jekyll-theme-conference-3.4.0 _layouts/stream-overview.html
jekyll-theme-conference-3.3.0 _layouts/stream-overview.html
jekyll-theme-conference-3.2.0 _layouts/stream-overview.html
jekyll-theme-conference-3.1.5 _layouts/stream-overview.html
jekyll-theme-conference-3.1.4 _layouts/stream-overview.html
jekyll-theme-conference-3.1.3 _layouts/stream-overview.html
jekyll-theme-conference-3.1.2 _layouts/stream-overview.html
jekyll-theme-conference-3.1.1 _layouts/stream-overview.html
jekyll-theme-conference-3.1.0 _layouts/stream-overview.html