blog init

This commit is contained in:
Mark Moser
2014-09-15 21:57:01 -05:00
parent 2add7ee700
commit f4e48258d6
22 changed files with 201 additions and 0 deletions

View File

@ -0,0 +1,45 @@
---
title: Video
---
.spacer-50
.row
.col-sm-12
%h3= video.title
.row
.col-sm-12
.player
- if video.vimeo?
= video.vimeo
- else
:ruby
options = {
src: "/video/#{video.file}",
style:"width:#{video.width}px; height:#{video.height}px",
poster: "/video/#{video.poster}",
}
%video{video.options.merge(options)}
.row
.col-sm-12
- if video.note
%p= video.note
- if video.role?
%p My Role: #{video.role}
- if video.credit
%p
Credits:
%br
= video.credit
.row
.col-sm-12
.side-links
%ul
%li More Videos:
- data.video.each do |vdo, video|
%li= link_to video.title, "#{vdo}.html"