aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-23 01:16:40 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-23 01:16:55 -0400
commitda38dbe5847c9bbf231119f3b60fae0800c0370b (patch)
treec869aa451a347dd0dded6caf5a3c3d5d3472e334
parentf49b24ac607ea70b71df26839b95a2e5f0baf7cc (diff)
downloadmy_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.html2
-rw-r--r--plugins/octopress_filters.rb2
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 &rarr;</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