erang template

This commit is contained in:
Sanj 2011-12-17 12:38:45 +05:30
parent c30980c58e
commit cdc1d71d22

View File

@ -59,7 +59,7 @@
<div class="contentLinks"> <div class="contentLinks">
<h1>WEB LINKS</h1> <h1>WEB LINKS</h1>
{% for weblink in weblinks %} {% for weblink in weblinks %}
<h2>{{ weblinks.title }}</h2> <h2><a href="{{weblink.url}}" target="_blank">{{ weblinks.title }}</a></h2>
<p>{{ weblinks.text|markdown }}</p> <p>{{ weblinks.text|markdown }}</p>
{% endfor %} {% endfor %}
</div><!-- WEB LINKS CLOSING --> </div><!-- WEB LINKS CLOSING -->
@ -67,8 +67,8 @@
<div class="contentLinks"> <div class="contentLinks">
<h1>BULLETIN BOARD</h1> <h1>BULLETIN BOARD</h1>
{% for bbitem in bbitems %} {% for bbitem in bbitems %}
<h2>{{ weblinks.title }}</h2> <h2>{{ bbitem.title }}</h2>
<p>{{ weblinks.text|markdown }}</p> <p>{{ bbitem.text|markdown }}</p>
{% endfor %} {% endfor %}
</div><!-- WEB LINKS CLOSING --> </div><!-- WEB LINKS CLOSING -->