class Octopress::Filters::PostHooks
Public Instance Methods
pre_render(post)
click to toggle source
# File lib/octopress-filters/hooks.rb, line 26 def pre_render(post) excerpted = post.content.match(post.site.config['excerpt_separator']) post.data.merge!({'excerpted' => !!excerpted}) end