mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-11 23:30:56 +00:00
Makes titlecase of page/post titles configurable
This commit is contained in:
@ -6,7 +6,7 @@ layout: default
|
||||
<article role="article">
|
||||
{% if page.title %}
|
||||
<header>
|
||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
||||
{% if page.date %}<p class="meta">{% include post/date.html %}{{ time }}</p>{% endif %}
|
||||
</header>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user