dimples 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dimples/configuration.rb +0 -2
- data/lib/dimples/site.rb +3 -5
- data/lib/dimples/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df1fbadb2ce282909560a859b4d240ce7d6939a
|
4
|
+
data.tar.gz: 4725d40c3cb0841296a37955128d490c059fcc85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84bfd84ed05c271558a67203a1ac37173f7cec15283e27f44046eacfcf2d29b15d23d811c9c4822561f15a2b4d7c3629b4b22aabaff55e7a466118f854fd4a7c
|
7
|
+
data.tar.gz: ec8dbdb51b9bc734339ddefe274de4846e91f760de0c96f21060057ac7e73756fbc67430e4324bcd83c10f17f0d8820c88efe554aa90e9a6a5fa0ceca02089a6
|
@@ -61,14 +61,12 @@ module Dimples
|
|
61
61
|
|
62
62
|
def self.default_pagination
|
63
63
|
{
|
64
|
-
'enabled' => true,
|
65
64
|
'per_page' => 10
|
66
65
|
}
|
67
66
|
end
|
68
67
|
|
69
68
|
def self.default_generation
|
70
69
|
{
|
71
|
-
'paginated_posts' => false,
|
72
70
|
'categories' => true,
|
73
71
|
'year_archives' => true,
|
74
72
|
'month_archives' => true,
|
data/lib/dimples/site.rb
CHANGED
@@ -150,12 +150,10 @@ module Dimples
|
|
150
150
|
generate_post(post)
|
151
151
|
end
|
152
152
|
|
153
|
-
|
154
|
-
|
155
|
-
layout = @config['layouts']['posts']
|
153
|
+
paths = [@output_paths[:archives]]
|
154
|
+
layout = @config['layouts']['posts']
|
156
155
|
|
157
|
-
|
158
|
-
end
|
156
|
+
paginate(posts: @posts, paths: paths, layout: layout)
|
159
157
|
end
|
160
158
|
|
161
159
|
def generate_post(post)
|
data/lib/dimples/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dimples
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Bogan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tilt
|