Show recent blog posts on Pro theme.

master
Nick Sergeant 2013-03-04 18:34:13 -05:00
parent f6f3251736
commit 24786d15ce
1 changed files with 10 additions and 0 deletions

View File

@ -109,6 +109,16 @@
<script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>
{% endif %}
{% if snipts %}
<section class="module snipts">
<h1>Recent blog posts</h1>
<ul>
{% for snipt in snipts|slice:":3" %}
<li><a href="{{ snipt.get_full_absolute_url }}">{{ snipt.title }}</a></li>
{% endfor %}
</ul>
</section>
{% endif %}
{% if normal_snipts %}
<section class="module snipts">
<h1>Recent snipts</h1>