Browse code

fixed misspelling of exerpt to excerpt for in the Octopress filters

Brandon Mathis authored on 23/07/2011 at 05:16:40
Showing 2 changed files
... ...
@@ -11,7 +11,7 @@
11 11
   </header>
12 12
 {% endunless %}
13 13
 {% if index %}
14
-  <div class="entry-content">{{ content | exerpt }}</div>
14
+  <div class="entry-content">{{ content | excerpt }}</div>
15 15
   <footer>
16 16
     <a rel="full-article" href="{{ root_url }}{{ post.url }}">Read on &rarr;</a>
17 17
   </footer>
... ...
@@ -2,7 +2,7 @@
2 2
 
3 3
 module OctopressFilters
4 4
   # Used on the blog index to split posts on the <!--more--> marker
5
-  def exerpt(input)
5
+  def excerpt(input)
6 6
     if input.index(/<!--\s*more\s*-->/i)
7 7
       input.split(/<!--\s*more\s*-->/i)[0]
8 8
     else