bridgetown_theme_single_page_opt_in 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bridgetown.automation.rb +10 -1
- data/lib/bridgetown_theme_single_page_opt_in/version.rb +1 -1
- 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: 5e3d9054f06d91d7d7dc777d34f87e3d6a8ee1c2fd749d4a61bc1620bedc9620
|
4
|
+
data.tar.gz: 5f71e35158fd742bb3b3936bc9029c38dc6d88f1b42412dc6a9d6db2d1141dc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5131dc799c86093a9c1bdb95dc5e384370b3589ea51169c49b51a31a96234f5e3921e4a3279f1a2e2ba1ca16c978263e4c563365e8cbc5cf794427f48a99b259
|
7
|
+
data.tar.gz: 05b4bd6a043e5bab28e8ef6336a9baa1046d0e9a974a87427f4a153b40cf49c8561fef89a5a8af4ef491e23e06a1dfa784a63d680944f44c5710e685bcefde9e
|
data/bridgetown.automation.rb
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
add_gem("bridgetown_theme_single_page_opt_in")
|
2
2
|
add_gem("dotenv")
|
3
3
|
|
4
|
-
gsub_file("config/initializers.rb", /^((?!#.)end)/, " init :bridgetown_theme_single_page_opt_in\nend")
|
4
|
+
# gsub_file("config/initializers.rb", /^((?!#.)end)/, " init :bridgetown_theme_single_page_opt_in\nend")
|
5
|
+
gsub_file("layout: default", , "layout: bridgetown_theme_single_page_opt_in/landing")
|
6
|
+
|
7
|
+
add_initializer :"bridgetown_theme_single_page_opt_in" do
|
8
|
+
<<~RUBY
|
9
|
+
do
|
10
|
+
init :bridgetown_theme_single_page_opt_in
|
11
|
+
end
|
12
|
+
RUBY
|
13
|
+
end
|
5
14
|
|
6
15
|
prepend_to_file "frontend/styles/index.css" do
|
7
16
|
"@import \"bridgetown_theme_single_page_opt_in/frontend/styles/index.css\";"
|