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 +8 -8
- data/lib/middleman-navtree/helpers.rb +1 -2
- data/lib/middleman-navtree/version.rb +1 -1
- data/middleman-navtree.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODU2MWQ2MmQ1OGFjNzcyOGJlOGM5MmIyODE1MWYxMDFhNTBjMTk2YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTBjMzgwM2Q2MDY0NDFiMzM2YmQ0YjQ2NmQ5ZDUyNzY0YmFiOWMwMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDFiODRlYWEyZGRkMjliOTNkN2E3NzcxZDcwOWM4ZGEyZjYxOWM3MTc3ODhi
|
10
|
+
MzZhYTdiYmU0MDljMjJlMjhhNjNmMGYxNjljOTI3ZDBkOTEwYTEwNGZmYzY4
|
11
|
+
YzIxMGM0YzIwNzM3MWJkNWRhNTQwMWNkYmVmMWZmZDE4MzQwMDA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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]
|
data/middleman-navtree.gemspec
CHANGED
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.
|
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-
|
11
|
+
date: 2014-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|