bridgetown_theme_single_page_opt_in 0.1.70 → 0.1.71
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 +4 -0
- 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: 2550f27ee1fc7aaf457126e201bde4af32d79bcd1c670ce0479334ae3360d569
|
4
|
+
data.tar.gz: 2465dda22afa96043dc4e29cf374b2f182b0b81ca626d790c356c21d68319447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69d0673e77f6a2c33711c90d89f68495607e0b16de5430f69943e3704515b1904d8a5695a32ebdc6bfe6690964298caf09ac70f8ae348f743dbee92485c6f83a
|
7
|
+
data.tar.gz: 9b8b458a3e500e51ad1fc00b6df1da3f5c7da91f657082bb9e075bfc3278dbb3286cb5e55aa31b354b92fec9ae228e4cc2cbde46270f6ac8f0bb2a4e1c81fc05
|
data/bridgetown.automation.rb
CHANGED
@@ -4,6 +4,10 @@ add_gem("dotenv")
|
|
4
4
|
gsub_file("config/initializers.rb", /^((?!#.)end)/, " init :bridgetown_theme_single_page_opt_in\nend")
|
5
5
|
gsub_file("src/index.md", "layout: default", "layout: bridgetown_theme_single_page_opt_in/landing")
|
6
6
|
|
7
|
+
prepend_to_file "frontend/javascript/lander.js" do
|
8
|
+
"import \"./lander.js\""
|
9
|
+
end
|
10
|
+
|
7
11
|
create_file "frontend/javascript/lander.js" do
|
8
12
|
"class CountDown {
|
9
13
|
constructor(expirationTime, onRender, onComplete) {
|