fixed misspelling of exerpt to excerpt for in the Octopress filters

This commit is contained in:
Brandon Mathis 2011-07-23 01:16:40 -04:00
parent f49b24ac60
commit da38dbe584
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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