From 71855cf5438e3a77f5ffb09eaabc788a4a220403 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Wed, 9 Apr 2014 18:22:31 +0200 Subject: better blog article summaries --- config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.rb') diff --git a/config.rb b/config.rb index 93d7cc5..bf12a20 100644 --- a/config.rb +++ b/config.rb @@ -16,7 +16,7 @@ activate :blog do |blog| # 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.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" -- cgit v1.2.1