diff options
-rw-r--r-- | .themes/classic/source/_includes/article.html | 2 | ||||
-rw-r--r-- | 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 a658e340..6b3fb045 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -11,7 +11,7 @@ </header> {% endunless %} {% if index %} - <div class="entry-content">{{ content | exerpt }}</div> + <div class="entry-content">{{ content | excerpt }}</div> <footer> <a rel="full-article" href="{{ root_url }}{{ post.url }}">Read on →</a> </footer> diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index 5b49363b..429e505c 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 <!--more--> marker - def exerpt(input) + def excerpt(input) if input.index(/<!--\s*more\s*-->/i) input.split(/<!--\s*more\s*-->/i)[0] else |