lb-project 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lb/project/site.rb +1 -1
- data/lib/lb/project/version.rb +1 -1
- data/lib/lb/project/view.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba077de0e17958d3f6b91b77d21fe49f389288c9a8f0da853ede9be83b190874
|
4
|
+
data.tar.gz: 7c6dbb470c3d4bb2837d7e4dfa5e05b339d9eb3ec9d095af37be028ef3565159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08131a9358ba63d99523eab4fe909908d8fa473518e7aa4542aa5d423fac9bd156cbb43771dfa35b2bd4f8fd09c7566a30d2a88d415087c1ee633bd544c58f28'
|
7
|
+
data.tar.gz: 268c9285eb65abf2ddf44ea05eaf14e5e341698784aa5e3b495c075922110e830ec98d5fac99278cb32b55f4c63712801f26529c8c272d15945658e937e78934
|
data/lib/lb/project/site.rb
CHANGED
data/lib/lb/project/version.rb
CHANGED
data/lib/lb/project/view.rb
CHANGED
@@ -6,9 +6,9 @@ module LB
|
|
6
6
|
class View < Dry::View::Controller
|
7
7
|
extend LB::Project::Registry::Registration[:view]
|
8
8
|
|
9
|
-
def self.setup(view)
|
9
|
+
def self.setup(view, layout = 'main')
|
10
10
|
view.setting :paths, [LB::Project.template_path]
|
11
|
-
view.setting :layout,
|
11
|
+
view.setting :layout, layout
|
12
12
|
end
|
13
13
|
|
14
14
|
def with(_options)
|