middleman-blog 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,8 +49,10 @@ module Middleman
49
49
  :layout_engine => app.blog_layout_engine
50
50
  })
51
51
 
52
+ current_body = body
53
+ current_body = current_body.first if current_body.class == Array
52
54
  # No need for separator on permalink page
53
- body body.gsub!(app.blog_summary_separator, "")
55
+ body current_body.gsub(app.blog_summary_separator, "")
54
56
  end
55
57
  end
56
58
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Blog
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-blog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Reynolds