bridgetown_theme_single_page_opt_in 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bridgetown.automation.rb +28 -10
- 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: e58284e90fa081dbeb97e608a47c5a42c67ebeec2fdcd6575dfda90660b7c8b9
|
|
4
|
+
data.tar.gz: 26cfcae79e6592e9ed9b37fbc7fac770c2a91d53aeb266181196ce8f4fdadd34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 440745c7e1d84a373bf2ace42562485a901bd91ca827fa2d78d79109a6f7f5631dc65ee0db83ed36941e27b98b5dfdfb5d91d1d2bc921f4ef49d82206b3a1112
|
|
7
|
+
data.tar.gz: '078724783c2fdebac80d070890a2cece9c2315cdc65716e489c406349bd32eb891410602949a44295c7dc8b3cdacfac072187a635d644d4d14f53cfee1b50833'
|
data/bridgetown.automation.rb
CHANGED
|
@@ -1,20 +1,38 @@
|
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
init :bridgetown_theme_single_page_opt_in
|
|
11
|
-
end
|
|
12
|
-
RUBY
|
|
7
|
+
prepend_to_file "frontend/styles/index.css" do
|
|
8
|
+
"@import \"bridgetown_theme_single_page_opt_in/frontend/styles/index.css\";"
|
|
9
|
+
# "@import url("./lander.css");"
|
|
13
10
|
end
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
create_file "src/_data/1_top_banner.yml" do
|
|
13
|
+
<<~YAML
|
|
14
|
+
headline: <b>ATTN:</b> Call out to your dream customer!! Get set for <u>AWESOME</u> outcomes from taking action!!
|
|
15
|
+
YAML
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
create_file "src/_data/site_metadata.yml" do
|
|
19
|
+
<<~YAML
|
|
20
|
+
title: Your Site's name
|
|
21
|
+
tagline: Something spunky, confident, energetic
|
|
22
|
+
email: support@yourdomain.com
|
|
23
|
+
fb_page: https://www.facebook.com/groups/yourdomain/
|
|
24
|
+
description: >-
|
|
25
|
+
Your spunky catchline and theme about the beneficial outcome you want your customers to capitalize on
|
|
26
|
+
og-image: images/seasonally-stoked-logo.png
|
|
27
|
+
og-title: Your Site's name
|
|
28
|
+
og-description: >-
|
|
29
|
+
Your spunky catchline and theme about the beneficial outcome you want your customers to capitalize on
|
|
30
|
+
og-url: https://yourdomain.com
|
|
31
|
+
canonical: https://yourdomain.com
|
|
32
|
+
logo: https://yourdomain.com
|
|
33
|
+
address: a PO box on the moon, ideally
|
|
34
|
+
gtm-tag: G-TAGNUMBERS
|
|
35
|
+
YAML
|
|
18
36
|
end
|
|
19
37
|
|
|
20
38
|
# Read the Automations documentation: https://www.bridgetownrb.com/docs/automations
|