break instead of more
This commit is contained in:
parent
6b3d26a677
commit
b9501c0625
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
def article_summary(item, separator=/<!-- *more *-->/)
|
||||
def article_summary(item, separator=/<!-- *break *-->/)
|
||||
# Has intro attribute? Use this
|
||||
if (item[:intro] && item[:intro].length>0)
|
||||
return parse_markdown(item[:intro])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue