jekyll-theme-easy-wedding 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06a0a82a5bce013a8eaeddb7c83e954f1e28ed4394325b761956b034202b2478
4
- data.tar.gz: 41983b8dabf3d950d8a96048303db85445a95694ac6e69af3da0bdb4199df013
3
+ metadata.gz: 60cecd6322e85692166fbd9bdc36a69b8ef32bf1dee382bfe8d360a413840e3b
4
+ data.tar.gz: 99eefadc7ea7d7b217474b325633cdc7f91f8216b2ab4c120651ac98c64fa650
5
5
  SHA512:
6
- metadata.gz: 509672943eafed36e13170ecd342f2437e1abe70741720687efa4b9ff3907fe46e4c5eab24b2df7abb27b25948ca9c54c3790563e2e2bbc1c084c64bf926dd25
7
- data.tar.gz: 26a9ad24c4805fceb404a855c503531477e9eafe273b9a5f5bacb3bbc8ac8d5b2c53c2290035a2f87edefe63af4dac22f04d304dc62b9f6eee19c7ae2f8a7f0d
6
+ metadata.gz: c3b8667a3b22df91fd9502c18168b230d9fdd4942cc1b17fbb1cba0fe22e8a497456b368846173bc0b387359b0498c76a0549080012ecfbbf2c6e5f3fe123b6a
7
+ data.tar.gz: 23c5499b2aa74198276688300c913e08099c38fab30d1796d06df485cdff55f7789cd6cb39521a471608d4cf843b80f6e43e01644369074c530930106106138d
data/README.md CHANGED
@@ -1,52 +1,48 @@
1
- # jekyll-theme-easy-wedding
2
-
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
-
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
-
7
- TODO: Delete this and the text above, and describe your gem
8
-
9
-
10
- ## Installation
11
-
12
- Add this line to your Jekyll site's `Gemfile`:
13
-
14
- ```ruby
15
- gem "jekyll-theme-easy-wedding"
16
- ```
17
-
18
- And add this line to your Jekyll site's `_config.yml`:
19
-
20
- ```yaml
21
- theme: jekyll-theme-easy-wedding
22
- ```
23
-
24
- And then execute:
25
-
26
- $ bundle
27
-
28
- Or install it yourself as:
29
-
30
- $ gem install jekyll-theme-easy-wedding
31
-
32
- ## Usage
33
-
34
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
-
36
- ## Contributing
37
-
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
-
40
- ## Development
41
-
42
- To set up your environment to develop this theme, run `bundle install`.
43
-
44
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
-
46
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
- To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-easy-wedding.gemspec` accordingly.
48
-
49
- ## License
50
-
51
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
-
1
+ # jekyll-theme-easy-wedding
2
+ Are you or a friend getting married? Do you want a quick way to make a **customizable** website? This is the theme for you! When I got married, I created a website to commemorate the occasion as well provide information to my guests. Then, I had a bunch of friends get married, and they wanted me to make them a site too. So, instead of making _basically_ the same site over and over, I decided to templatize it so that I just have to change the data in a yaml file.
3
+
4
+ Most of the original work is from https://github.com/cbaclig/wedding and is thanks to [@cbaclig](https://github.com/cbaclig).
5
+
6
+ ## Installation
7
+
8
+ Add this line to your Jekyll site's `Gemfile`:
9
+
10
+ ```ruby
11
+ gem "jekyll-theme-easy-wedding"
12
+ ```
13
+
14
+ And add this line to your Jekyll site's `_config.yml`:
15
+
16
+ ```yaml
17
+ theme: jekyll-theme-easy-wedding
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install jekyll-theme-easy-wedding
27
+
28
+ ## Usage
29
+
30
+ The best place to start is by copying the [example folder](https://github.com/cnorick/jekyll-theme-easy-wedding/tree/main/example) to your project, then start editing the .yaml files in [\_data](https://github.com/cnorick/jekyll-theme-easy-wedding/tree/main/example/\_data) to customize the site for your needs.
31
+
32
+ ## Contributing
33
+
34
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
+
36
+ ## Development
37
+
38
+ To set up your environment to develop this theme, run `bundle install`.
39
+
40
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
41
+
42
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
43
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-easy-wedding.gemspec` accordingly.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
@@ -4,4 +4,14 @@
4
4
  :root {
5
5
  --intro-background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 0%,
6
6
  rgba(0,0,0,0.65) 100%),url({{site.data.settings.hero_image}}) no-repeat center center scroll;
7
+
8
+ --intro-background-position: {{site.data.settings.hero_position | default: "center center"}};
9
+
10
+ @media (max-width: 767px) {
11
+ {% if site.data.settings.mobile_hero_image %}
12
+ --intro-background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 0%,
13
+ rgba(0,0,0,0.65) 100%),url({{site.data.settings.mobile_hero_image}}) no-repeat center center scroll;
14
+ --intro-background-position: {{site.data.settings.mobile_hero_position | default: "center center"}};
15
+ {% endif %}
16
+ }
7
17
  }