video proxy complete
This commit is contained in:
@ -49,6 +49,11 @@ after_configuration do
|
||||
sprockets.append_path File.join "#{root}", @bower_config["directory"]
|
||||
end
|
||||
|
||||
#video pages
|
||||
data.video.keys.each do |vdo|
|
||||
proxy "video/#{vdo}.html", 'video/template.html', locals: {video: data.video[vdo]}, ignore: true
|
||||
end
|
||||
|
||||
# Build-specific configuration
|
||||
configure :build do
|
||||
# For example, change the Compass output style for deployment
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
demo:
|
||||
index:
|
||||
file: "reel2011.mp4"
|
||||
title: "2011 Demo Reel"
|
||||
width: "960"
|
||||
|
@ -10,6 +10,10 @@ body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.spacer-20 { margin: 20px 0 0 0; }
|
||||
.spacer-50 { margin: 50px 0 0 0; }
|
||||
.spacer-100{ margin: 100px 0 0 0; }
|
||||
|
||||
header{
|
||||
background: $dark; // url(/assets/img/bg/congruent_outline.png);
|
||||
color: $offwhite;
|
||||
@ -63,10 +67,15 @@ header a:hover {
|
||||
color: $accent_color;
|
||||
}
|
||||
|
||||
.poster img {
|
||||
.player {
|
||||
width: 100%;
|
||||
margin: 50px 0;
|
||||
}
|
||||
|
||||
.poster img {
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
}
|
||||
|
||||
.side-links {
|
||||
font-family: $accent_font;
|
||||
|
@ -2,7 +2,7 @@
|
||||
title: A Fresh Start
|
||||
poster: /assets/img/star_nasa.jpg
|
||||
---
|
||||
|
||||
.spacer-100
|
||||
.row
|
||||
.col-sm-12
|
||||
|
||||
A new thing
|
||||
|
@ -23,5 +23,6 @@
|
||||
= tag :img, src: current_page.data.poster
|
||||
.container
|
||||
= yield
|
||||
.spacer-50
|
||||
= javascript_include_tag "app"
|
||||
|
||||
|
@ -8,9 +8,9 @@
|
||||
%a{href: '/'}
|
||||
home
|
||||
%li
|
||||
%a{href: "video"} video
|
||||
%a{href: "/video"} video
|
||||
%li
|
||||
%a{href: "contact"} contact
|
||||
%a{href: "/contact"} contact
|
||||
|
||||
%ul.social
|
||||
:ruby
|
||||
|
Reference in New Issue
Block a user