bridgetown_theme_single_page_opt_in 0.1.13 → 0.1.14
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 +1 -9
- 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: a785ea826fe53a45e1e600d66422997991c44c914391fccd4ba4d70769ceee03
|
4
|
+
data.tar.gz: 7e2a97a6e31d27bda02fdd46d6b14dbb3a29d0765c6f12cb0556bc39652b8c42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c71477cfd720d0f7c69805969dec44edf62f8bb48ed2eec8637777344ecea31256ab86efc2d5bb57bac712ae8648e89e10df3043c4cac898721d583f483abfe
|
7
|
+
data.tar.gz: 00d12272fb87f0864f6c3462850c95f81174ff18e8a4565ce54318aa6e1e6b241ce607530955b75dbcc7354cd6ba7be56a06b0f3098ab9065d6e06a2180ef3a0
|
data/bridgetown.automation.rb
CHANGED
@@ -1,17 +1,9 @@
|
|
1
1
|
add_gem("bridgetown_theme_single_page_opt_in")
|
2
2
|
add_gem("dotenv")
|
3
3
|
|
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
|
-
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
|
14
|
-
|
15
7
|
prepend_to_file "frontend/styles/index.css" do
|
16
8
|
"@import \"bridgetown_theme_single_page_opt_in/frontend/styles/index.css\";"
|
17
9
|
# "@import url("./lander.css");"
|