qmsk/pages/templates/qmsk.pages/page.html
changeset 239 cf7a46725ce5
parent 233 f5227f26231b
child 120 c4dffae9629a
--- a/qmsk/pages/templates/qmsk.pages/page.html	Sat Oct 04 15:14:22 2014 +0300
+++ b/qmsk/pages/templates/qmsk.pages/page.html	Sat Oct 04 15:53:33 2014 +0300
@@ -1,7 +1,12 @@
 {% extends "site.html" %}
+{% load staticfiles %}
 
 {% block title %}{{ site_name }} :: {{ page_title }}{% endblock %}
 
+{% block head %}
+    <link rel="stylesheet" href="{% static "qmsk.pages/pages.css" %}">
+{% endblock %}
+
 {% block header %}
     <h1 class="page-header-title">
         <a href="{% url 'page' '' %}">{{ site_name }}</a>
@@ -37,9 +42,11 @@
 {% endblock %}
 
 {% block content %}
-    <h1>{{ page_title }}</h1>
-
-    {{ page_html|safe }}
+    <div id="page">
+        <h1>{{ page_title }}</h1>
+    
+        {{ page_html|safe }}
+    </div>
 {% endblock %}
 
 {% block footer %}