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