middleman-navtree 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWM5NjY1MDQwZWYzYWVjOGUwZTg0MjFiY2EwNTIzNDg1MTRiY2M1NQ==
4
+ ODU2MWQ2MmQ1OGFjNzcyOGJlOGM5MmIyODE1MWYxMDFhNTBjMTk2YQ==
5
5
  data.tar.gz: !binary |-
6
- ZTFlZWUzNWZjMGNlNGNjYWQwZmE0MzdhNWQ0MWYzZjA0ZTJiOTFhNQ==
6
+ OTBjMzgwM2Q2MDY0NDFiMzM2YmQ0YjQ2NmQ5ZDUyNzY0YmFiOWMwMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzdiOGYyODFiZmFkNTY1OTZiY2RhOTY1NDkxYmM1ZGQzM2QwY2Y3YjY4Yjc3
10
- M2M3OTJlMzA1ZTU5Njg5MWZiYjMzOWY3ODk2YjY3ZTc5Yjc3ZTZkNDdmZGEz
11
- MGEwZjQxNDZiY2RlMTFlNjUzYzMzNmJkMmZjOTAxMDNhMzIzYTU=
9
+ NDFiODRlYWEyZGRkMjliOTNkN2E3NzcxZDcwOWM4ZGEyZjYxOWM3MTc3ODhi
10
+ MzZhYTdiYmU0MDljMjJlMjhhNjNmMGYxNjljOTI3ZDBkOTEwYTEwNGZmYzY4
11
+ YzIxMGM0YzIwNzM3MWJkNWRhNTQwMWNkYmVmMWZmZDE4MzQwMDA=
12
12
  data.tar.gz: !binary |-
13
- ZmNlNTE0NjBjZjAwYzk4YWVlYzJlOGY3M2MyYTg2YTZkZDc3MmZmNzZkZTVm
14
- MmE1OTZkYTY2NGU2YzZhYjQ5YmRlYTM3NjlmMmQwNTkxMDhkYzg3NjQxNDk4
15
- OWIzNmZjZjM2YmMwNzBjYmE4MjdkNWNjNzY4ZjJmNTRiNDNhZGU=
13
+ NDk0MThlOGNiOGRmM2YzOTgyY2QyZTRiMDliNGJiYjQyMDNkYmYxZTM0Y2Yw
14
+ MDQ4NGI5YjQyYjcwNGM1ZjQwMzIxYTQ3MmNhMTQzMzE4Y2I1NTgyMzBkN2Yx
15
+ NjdkNjFiMWM3YTY5NGQ2OWJiYWUyNDg4NTE4YTJiZDg1NjllODE=
@@ -40,7 +40,6 @@ module Middleman
40
40
  html << '</li>'
41
41
  end
42
42
  end
43
-
44
43
  return html
45
44
  end
46
45
 
@@ -131,7 +130,7 @@ module Middleman
131
130
  def discover_title(page = current_page)
132
131
  if page.data.title
133
132
  return page.data.title # Frontmatter title
134
- elsif match = page.render({:layout => false}).match(/<h.+>(.*?)<\/h1>/)
133
+ elsif match = page.render({:layout => false, :no_images => true}).match(/<h.+>(.*?)<\/h1>/)
135
134
  return match[1] # H1 title
136
135
  elsif page.url == '/'
137
136
  return extensions[:navtree].options[:home_title]
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module NavTree
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "middleman-navtree"
6
- s.version = "0.1.7"
6
+ s.version = "0.1.8"
7
7
  s.licenses = ['MIT']
8
8
  s.date = Date.today.to_s
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-navtree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Braun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-13 00:00:00.000000000 Z
11
+ date: 2014-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core