1 parent 5e0c1eb commit 771557aCopy full SHA for 771557a
1 file changed
lib/clayoven/toplevel.rb
@@ -360,7 +360,16 @@ def self.generate_rss(content_pages, lastmod)
360
item.link = p.permalink
361
item.title = p.title
362
item.updated = p.crdate
363
- item.description = p.paragraphs[0]
+ item.description =
364
+ p.paragraphs.reject { |p|
365
+ %i[
366
+ codeblock
367
+ mathjax
368
+ images
369
+ exercise
370
+ horizrule
371
+ ].include? p.type
372
+ }.join "\n"
373
end
374
375
0 commit comments