mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-11 20:05:06 -05:00
fixed misspelling of exerpt to excerpt for in the Octopress filters
This commit is contained in:
parent
f49b24ac60
commit
da38dbe584
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user