add markdown to festival templates

This commit is contained in:
Sanj 2011-12-05 18:36:14 +05:30
parent 4baa443e8e
commit 1326d1eae4
3 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,4 @@
{% load markup %}
<link rel="stylesheet" href="/static/css/modules/tabsinnerright.css" type="text/css" />
<ul class="tabsInnerRight">
@ -28,7 +29,7 @@
<div class="tab_container">
<div id="synopsis" class="tab_content">
{{ meeting.intro|safe|linebreaksbr }}
{{ meeting.intro|markdown }}
<!--Content-->
</div>
@ -43,7 +44,7 @@
</div>
<div class="sessionChild">
<div class="sessionIntro">
{{ s.intro|linebreaksbr }}
{{ s.intro|markdown }}
</div>
{% ifnotequal s.talks|length 0 %}
<ul class="talks">
@ -94,7 +95,7 @@
<a href="/static/{{d.file}}">{{d.title}}</a>
</div>
<div class="intro">
{{ d.intro|safe }}
{{ d.intro|markdown }}
</div>
</div>
{% endfor %}
@ -130,7 +131,7 @@
<a href="Javascript:return false;">{{ p.name }}</a>
</div>
<div class="pBio">
{{ p.short_bio }}
{{ p.short_bio|markdown }}
</div>
</div>
{% endfor %}

View File

@ -1,3 +1,3 @@
<div class="orange">{{ name }}:</div> {{ short_bio }}
<div class="orange">{{ name }}:</div> {{ short_bio|markdown }}

View File

@ -1,2 +1,2 @@
<div class="orange">{{ title }}</div>
<div>{{ intro|linebreaksbr }}</div>
<div>{{ intro|markdown }}</div>