diff --git a/pelicanconf.py b/pelicanconf.py index e94ad35..e880f4e 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -98,5 +98,4 @@ JINJA_FILTERS = { "datetime": filters.format_datetime, "category_find": filters.category_find, "limit": filters.limit, - "format_title": filters.format_title } diff --git a/plugins/filters.py b/plugins/filters.py index 12292ec..2950233 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -19,8 +19,3 @@ def limit(line, length): return " ".join(line.split(" ")[:length]) + '...' elif isinstance(line, list): return line[:length] - - -def format_title(value): - space_split = " ".join(value.split("-")) - return space_split.title() diff --git a/theme/templates/category.html b/theme/templates/category.html index 8b4f178..2fd4adf 100644 --- a/theme/templates/category.html +++ b/theme/templates/category.html @@ -13,7 +13,7 @@