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