Recent posts sidebar now correctly observes titlecase settings

main
Brandon Mathis 12 years ago
parent ac5d2538ec
commit e83dfccc4f

@ -3,7 +3,7 @@
<ul id="recent_posts">
{% for post in site.posts limit: site.recent_posts %}
<li class="post">
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
<a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a>
</li>
{% endfor %}
</ul>

Loading…
Cancel
Save