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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eb0a960880280baae9ddb5f34a6f4805c48214a5f333b465898ea29f93e83e3
4
- data.tar.gz: 730c00d7755b4b76231a3fa3e91d09c0f7945b46bb277a7d47e2483152492bf1
3
+ metadata.gz: e58284e90fa081dbeb97e608a47c5a42c67ebeec2fdcd6575dfda90660b7c8b9
4
+ data.tar.gz: 26cfcae79e6592e9ed9b37fbc7fac770c2a91d53aeb266181196ce8f4fdadd34
5
5
  SHA512:
6
- metadata.gz: 4750e0d666f275e0aa018441c67f2fbc1dcfed12ab7ee31ce8d72c8f38779bcd093abe2b9c1ba1fd9353243850753142a0f035aecfcf0871f77a54d59031da14
7
- data.tar.gz: 86be2515e23efe270e8c3c942c95990bd0f1b2b859a0d7e6195f7074f7e6d003480fa970774e01e020459b4aaf61446980df0696dcce33b3647ae81ae8da636e
6
+ metadata.gz: 440745c7e1d84a373bf2ace42562485a901bd91ca827fa2d78d79109a6f7f5631dc65ee0db83ed36941e27b98b5dfdfb5d91d1d2bc921f4ef49d82206b3a1112
7
+ data.tar.gz: '078724783c2fdebac80d070890a2cece9c2315cdc65716e489c406349bd32eb891410602949a44295c7dc8b3cdacfac072187a635d644d4d14f53cfee1b50833'
@@ -1,20 +1,38 @@
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
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
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
- prepend_to_file "frontend/styles/index.css" do
16
- "@import \"bridgetown_theme_single_page_opt_in/frontend/styles/index.css\";"
17
- # "@import url("./lander.css");"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SinglePageOptInTheme
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.15"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown_theme_single_page_opt_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - graial