github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/layouts/layout.erb (about) 1 <% if livestream_active? %> 2 <% content_for(:body_class, "livestream") %> 3 4 <%= partial "layouts/meta" %> 5 <div class="livestream-container"> 6 <div class="livestream-video"> 7 <iframe src="https://www.ustream.tv/embed/21243866?html5ui=1" id="live-stream-video" webkitallowfullscreen allowfullscreen frameborder="no"></iframe> 8 </div> 9 </div> 10 11 <!-- closing tags from layouts/meta, keep this --> 12 </body> 13 </html> 14 15 <% else %> 16 17 <%= partial "layouts/meta" %> 18 <%= partial "layouts/header" %> 19 <%= partial "layouts/sidebar" %> 20 21 <%= yield %> 22 23 <%= partial "layouts/footer" %> 24 <% end %>