weblinks / bbitems conditionals
This commit is contained in:
parent
3a3c633e4f
commit
5e6fa5abd2
|
@ -32,7 +32,7 @@
|
|||
</div><!-- HEADER EMAILER CLOSING -->
|
||||
|
||||
<div id="contentEmailer">
|
||||
|
||||
{% if weblinks %}
|
||||
<div class="contentBoxes">
|
||||
<h1>WEB LINKS</h1>
|
||||
{% for weblink in weblinks %}
|
||||
|
@ -40,7 +40,8 @@
|
|||
{% endfor %}
|
||||
<p class="contentBoxesMore"><a href="#weblinks">More »</a></p>
|
||||
</div><!-- CONTENT BOXES CLOSING -->
|
||||
|
||||
{% endif %}
|
||||
{% if bbitems %}
|
||||
<div class="contentBoxes">
|
||||
<h1>BULLETIN BOARD</h1>
|
||||
{% for bbitem in bbitems %}
|
||||
|
@ -48,7 +49,7 @@
|
|||
{% endfor %}
|
||||
<p class="contentBoxesMore"><a href="#bbitems">More »</a></p>
|
||||
</div><!-- CONTENT BOXES CLOSING -->
|
||||
|
||||
{% endif %}
|
||||
</div><!-- CONTENT BOXES CLOSING -->
|
||||
|
||||
<div class="clear"></div>
|
||||
|
@ -73,7 +74,7 @@
|
|||
<div class="authorBio">{{ article.author_bio|markdown }}</div>
|
||||
{% endfor %}
|
||||
</div><!-- ARTICLE EMAILER CLOSING -->
|
||||
|
||||
{% if weblinks %}
|
||||
<div class="contentLinks">
|
||||
<a name="weblinks"></a><h1>WEB LINKS</h1>
|
||||
{% for weblink in weblinks %}
|
||||
|
@ -81,7 +82,8 @@
|
|||
{{ weblink.text|markdown }}
|
||||
{% endfor %}
|
||||
</div><!-- WEB LINKS CLOSING -->
|
||||
|
||||
{% endif %}
|
||||
{% if bbitems %}
|
||||
<div class="contentLinks">
|
||||
<a name="bbitems"></a><h1>BULLETIN BOARD</h1>
|
||||
{% for bbitem in bbitems %}
|
||||
|
@ -89,7 +91,7 @@
|
|||
{{ bbitem.text|markdown }}
|
||||
{% endfor %}
|
||||
</div><!-- WEB LINKS CLOSING -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
</div><!-- CONTENT EMAILER CLOSING -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user