From da38dbe5847c9bbf231119f3b60fae0800c0370b Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 23 Jul 2011 01:16:40 -0400 Subject: [PATCH] fixed misspelling of exerpt to excerpt for in the Octopress filters --- .themes/classic/source/_includes/article.html | 2 +- plugins/octopress_filters.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html index a658e34..6b3fb04 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -11,7 +11,7 @@ {% endunless %} {% if index %} -
{{ content | exerpt }}
+
{{ content | excerpt }}
diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index 5b49363..429e505 100644 --- a/plugins/octopress_filters.rb +++ b/plugins/octopress_filters.rb @@ -2,7 +2,7 @@ module OctopressFilters # Used on the blog index to split posts on the marker - def exerpt(input) + def excerpt(input) if input.index(//i) input.split(//i)[0] else