diff options
Diffstat (limited to 'config.rb')
-rw-r--r-- | config.rb | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,9 @@ activate :blog do |blog| # blog.layout = "layout" # blog.summary_separator = /(READMORE)/ # blog.summary_length = 250 + + blog.summary_generator = Proc.new {|article, rendered, length, ellipsis| Nokogiri::HTML(rendered).at_xpath("//p[1]").to_s + link_to(ellipsis, article) } + # blog.year_link = "{year}.html" # blog.month_link = "{year}/{month}.html" # blog.day_link = "{year}/{month}/{day}.html" |