Sha256: 5c5db107c1056513009689f5b62604fa39d8cd71b1aba971f0611f11d8ef8a81
Contents?: true
Size: 702 Bytes
Versions: 2
Compression:
Stored size: 702 Bytes
Contents
{% if include.params.videos or page.resources.videos %} {% assign ids = include.params.videos | default: page.resources.videos | split: ", " %} <div class="row"> {% for id in ids %} <div class="col-lg-6"> <iframe id="ytplayer" type="text/html" width="100%" height="350" class="my-3" src="https://www.youtube.com/embed/{{ id }}?rel=0&modestbranding=1" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen> </iframe> </div> {% endfor %} </div> {% else %} <p>{{ site.data.i18n.common.product-layout[site.lang].videos-empty }}</p> {% endif %}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-marketing-1.0.1 | _includes/components/videos/youtube.html |
jekyll-theme-marketing-1.0.0 | _includes/components/videos/youtube.html |