diff --git a/_plugins/custom_filters.rb b/_plugins/custom_filters.rb index 1ee39fa..158586a 100644 --- a/_plugins/custom_filters.rb +++ b/_plugins/custom_filters.rb @@ -25,7 +25,6 @@ module OctopressFilters RubyPants.new(input).to_html end def titlecase(input) - require 'titlecase' input.titlecase end def datetime(date) diff --git a/themes/classic/source/_includes/article.html b/themes/classic/source/_includes/article.html index 1be6552..92c0602 100644 --- a/themes/classic/source/_includes/article.html +++ b/themes/classic/source/_includes/article.html @@ -5,9 +5,9 @@ {% endif %}
{% if index %} -

{{ page.title }}

+

{{ page.title | titlecase }}

{% else %} -

{{ page.title }}

+

{{ page.title | titlecase }}

{% endif %} {% unless page.nometa %}

@@ -26,3 +26,4 @@ {% else %}

{{ content | smart_quotes }}
{% endif %} +