bridgetown_theme_single_page_opt_in 0.1.74 → 0.2.1

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: ebad90887ad2bea9d58ed7dc4eab440bc10623fcab0aa1b2823ee2b70cd5a71f
4
- data.tar.gz: d3238d92d81dd90a90117bbcddcfc8250dc3e42f26c4429a9a1866c6a688ed5e
3
+ metadata.gz: 252364c3f4b77e932995f1ff09aa2cadc8a5d50d8a1a06616b2a5eb529cbbfe4
4
+ data.tar.gz: 694f171008b1b4a245ac155e585b2ab74ac6baf02f5915ba8cfcc6875b22a0f4
5
5
  SHA512:
6
- metadata.gz: 7edfb4fe7b41f6cb5d0d65c5224bcba73bf8644bb594eb9133361c4c286d97c39afd2418686e3ba5969e75ea35c7c14d0a337940336a267b7b17d0b9ae885c67
7
- data.tar.gz: fcf438fc853abdaa708fabf3e19ecac73ba377122fa403302e17ce70430d6c7027cabac7a21783923795e57f52cf0d64da05785f6cf290ff151d155649efabc0
6
+ metadata.gz: 8fb854853028a4ff114ed088a8737f9a25abe091aae81f5dded04e6b6f96fe80dc38d4979eabcc03f666013526fbb4deeca56e46f191a9b1863e786cde006e22
7
+ data.tar.gz: 3d270e98ba50092181fdb00b93f520de77235b76126da2f2cb9745c92569dae6db9797871f80d2495d0327be170ff077ab342b2981f64517835898be5acdfaf3
data/README.md CHANGED
@@ -4,40 +4,20 @@ A Bridgetown theme for a single-page opt-in to get you up and running with selli
4
4
 
5
5
  ## Installation
6
6
 
7
+ This plugin is only intended for the generation of new sites. **Do not attempt to apply it to an existing bridgtown project.**
8
+
7
9
  You'll need [Bridgetown](https://www.bridgetownrb.com) & [Ruby](https://www.ruby-lang.org/en/)
8
10
 
9
11
  Run this command to add this plugin to your site's Gemfile:
10
12
 
11
13
  ```shell
12
- bundle add bridgetown_theme_single_page_opt_in
13
- ```
14
-
15
- Then add the initializer to your configuration in `config/initializers.rb`:
16
-
17
- ```ruby
18
- init :bridgetown_theme_single_page_opt_in
19
- ```
20
-
21
- Or if there's a `bridgetown.automation.rb` automation script, you can run that instead for guided setup:
22
-
23
- ```shell
24
- bin/bridgetown apply https://github.com/username/my_awesome_plugin
14
+ bridgetown new <PROJECT_NAME>/ --apply=https://github.com/paglalayag/bridgetown_theme_single_page_opt_in
25
15
  ```
26
16
 
27
17
  ## Usage
28
18
 
29
- This theme is a template of
30
-
31
- ### Optional configuration options
32
-
33
- The plugin will automatically use any of the following metadata variables if they are present in your site's `_data/site_metadata.yml` file.
34
-
35
-
36
-
37
- ## Testing
38
-
39
- * Run `bundle exec rake test` to run the test suite
40
- * Or run `script/cibuild` to validate with Rubocop and Minitest together.
19
+ Change the text from the `src/_data` folder.
20
+ *TODO: extract css colours to single variable*
41
21
 
42
22
  ## Contributing
43
23
 
@@ -47,19 +27,3 @@ The plugin will automatically use any of the following metadata variables if the
47
27
  4. Commit your changes (`git commit -am 'Add some feature'`)
48
28
  5. Push to the branch (`git push origin my-new-feature`)
49
29
  6. Create a new Pull Request
50
-
51
- ----
52
-
53
- ## Releasing (you can delete this section in your own plugin repo)
54
-
55
- To release a new version of the plugin, simply bump up the version number in both `version.rb` and
56
- `package.json`, and then run `script/release`. This will require you to have a registered account
57
- with both the [RubyGems.org](https://rubygems.org) and [NPM](https://www.npmjs.com) registries.
58
- You can optionally remove the `package.json` and `frontend` folder if you don't need to package frontend
59
- assets for Webpack.
60
-
61
- If you run into any problems or need further guidance, please check out our [Bridgetown community resources](https://www.bridgetownrb.com/docs/community)
62
- where friendly folks are standing by to help you build and release your plugin or theme.
63
-
64
- **NOTE:** make sure you add the `bridgetown-plugin` [topic](https://github.com/topics/bridgetown-plugin) to your
65
- plugin's GitHub repo so the plugin or theme will show up on [Bridgetown's official Plugin Directory](https://www.bridgetownrb.com/plugins)! (There may be a day or so delay before you see it appear.)
@@ -260,7 +260,7 @@ end
260
260
 
261
261
  create_file "src/_data/footer.yml" do
262
262
  <<~YAML
263
- copyright: ©{{ Time.now.strftime('%Y') }} {{ site_metadata.title }}. All Rights Reserved.
263
+ copyright: ©{{ "now" | date('%Y') }} {{ site_metadata.title }}. All Rights Reserved.
264
264
  address: your address
265
265
  disclaimer: Any notices you might want your visitors to consider.
266
266
  warning: If visitors start showing up with misaligned expectations/impressions, you could clarify here
@@ -268,7 +268,6 @@ create_file "src/_data/footer.yml" do
268
268
  YAML
269
269
  end
270
270
 
271
-
272
271
  create_file "src/images/succeeding_prospect.svg" do
273
272
  "<svg height=\"600\" width=\"640\" xmlns=\"http://www.w3.org/2000/svg\">
274
273
  <g transform=\"translate(0,639) scale(0.200000,-0.200000)\"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SinglePageOptInTheme
4
- VERSION = "0.1.74"
4
+ VERSION = "0.2.1"
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.74
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - graial