diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-23 01:16:40 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-23 01:16:55 -0400 |
commit | da38dbe5847c9bbf231119f3b60fae0800c0370b (patch) | |
tree | c869aa451a347dd0dded6caf5a3c3d5d3472e334 | |
parent | f49b24ac607ea70b71df26839b95a2e5f0baf7cc (diff) | |
download | my_new_personal_website-da38dbe5847c9bbf231119f3b60fae0800c0370b.tar.xz my_new_personal_website-da38dbe5847c9bbf231119f3b60fae0800c0370b.zip |
fixed misspelling of exerpt to excerpt for in the Octopress filters
-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 |