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