Recent posts sidebar now correctly observes titlecase settings
This commit is contained in:
parent
ac5d2538ec
commit
e83dfccc4f
@ -3,7 +3,7 @@
|
|||||||
<ul id="recent_posts">
|
<ul id="recent_posts">
|
||||||
{% for post in site.posts limit: site.recent_posts %}
|
{% for post in site.posts limit: site.recent_posts %}
|
||||||
<li class="post">
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user