Sha256: 9b969abdf1fa2e50b3ccd5cd8d4f3dc554e6afa8f7e5f4ccf010eb2ecd61d948

Contents?: true

Size: 565 Bytes

Versions: 5

Compression:

Stored size: 565 Bytes

Contents

{%- case include.ratio -%}
  {%- when '21:9' -%}
    {%- assign ratio_class = 'responsive-embed-21by9' -%}
  {%- when '16:9' -%}
    {%- assign ratio_class = 'responsive-embed-16by9' -%}
  {%- when '4:3' -%}
    {%- assign ratio_class = 'responsive-embed-4by3' -%}
  {%- when '1:1' -%}
    {%- assign ratio_class = 'responsive-embed-1by1' -%}
  {%- else -%}
    {%- assign ratio_class = 'responsive-embed-16by9' -%}
{%- endcase -%}

<div class="responsive-embed {{ ratio_class }}">
  <iframe src="{{ include.url }}" frameborder="0" allowfullscreen></iframe>
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jekyll-theme-so-simple-libre-4.0.0 _includes/responsive-embed
jekyll-theme-so-simple-3.2.0 _includes/responsive-embed
jekyll-theme-so-simple-3.1.3 _includes/responsive-embed
jekyll-theme-so-simple-3.1.2 _includes/responsive-embed
jekyll-theme-so-simple-3.1.1 _includes/responsive-embed