Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 291 Bytes
module Jekyll
module ReadMoreFilter
def read_more(text, url)
text = '' if text.nil?
text = text.to_str
"#{text}<a href=\"#{url}\" rel=\"nofollow\" class=\"read-more\">read more &raquo;</a>"
end
end
end
Liquid::Template.register_filter(Jekyll::ReadMoreFilter)
Something went wrong with that request. Please try again.