static page template var names

This commit is contained in:
Sanj 2011-12-27 18:41:18 +05:30
parent 513a2a8c07
commit 11e85dea3b

View File

@ -1,4 +1,5 @@
{% extends 'noel/base.html' %}
{% load markdown %}
{% block extra_head %}
<link rel="stylesheet" href="/static/css/noel/inner.css" type="text/css" />
@ -63,9 +64,9 @@
<div id="searchContainer">
<div id="searchContent">
<p class="staticTitle">{{ static_title }}</p>
<img src="{{ static_img }} " alt="{{ static_img_title }}" width="300">
<p class="markdownText">{{ static_text|markdown }}</p>
<p class="staticTitle">{{ page.title }}</p>
<img src="{{ page.main_image.url }} " alt="{{ page.title }}" width="300">
<p class="markdownText">{{ page.text|markdown }}</p>
</div><!-- SEARCH CONTENT CLOSING -->
</div><!-- SEARCH CONTAINER CLOSING -->