summaryrefslogtreecommitdiff
path: root/config.rb
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-04-09 18:22:31 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-04-09 18:22:31 +0200
commit71855cf5438e3a77f5ffb09eaabc788a4a220403 (patch)
treebfc3da7e325bd7592df2a6034e25c77c19706d7c /config.rb
parenta3995bf898c38ed755a3e1bd60b3b4aaf27670ec (diff)
better blog article summaries
Diffstat (limited to 'config.rb')
-rw-r--r--config.rb2
1 files changed, 1 insertions, 1 deletions
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"