summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-11-23 15:07:46 +0000
committerluxagraf <sng@luxagraf.net>2012-11-23 15:07:46 +0000
commitb827f4f38eeff43b7aefc1b17f5512325e68524d (patch)
tree485fac33e7c28d84e746dfb6c14137992f55b5fd
parent5ec4e9957220eda531ada80ae2969b3c4cd0bcce (diff)
added a template for the baby videos page
-rw-r--r--design/templates/details/babyvideos.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/design/templates/details/babyvideos.html b/design/templates/details/babyvideos.html
new file mode 100644
index 0000000..007a6ea
--- /dev/null
+++ b/design/templates/details/babyvideos.html
@@ -0,0 +1,34 @@
+{% extends 'base.html' %}
+{% load typogrify %}
+{% block pagetitle %}Luxagraf | {{object.title}}{% endblock %}
+{% block extrahead %}
+<style>
+
+.vidwrap{
+ position: relative;
+ padding-bottom: 56.25%; /* 16:9 */
+ padding-top: 25px;
+ height: 0;
+}
+.vidwrap video,
+.vidwrap embed, {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ max-width: 960px;
+}
+</style>
+{% endblock %}
+{% block metadescription %}{{object.metadescription}}{% endblock %}
+{%block htmlclass%}class="dark single"{%endblock%}
+
+{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
+ <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
+ <li>{{object.title}}</li>
+ </ul>
+ <article role="main">
+ {{object.body_html|safe}}
+ </article>
+{% endblock %}