bay_jekyll_theme 1.0.8 → 1.0.9

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: 3ac6afadac133be1fd8c163e179444cdd741d36be2ceaaffc4f463e49af06b23
4
- data.tar.gz: '08cf39646bd31e9f6b8e19d5a0cb6681fb2ffdaab77fb21eba2c8f5b7633c810'
3
+ metadata.gz: 6f5120894196146c4be23941d6782403182fcc186ca28e4024f3901a9d111419
4
+ data.tar.gz: 3e452f892f4b82ddd6ea4c1a8be18ba55784b5eb4913ed2eb575044f2dfcc9b8
5
5
  SHA512:
6
- metadata.gz: e0389dcbb10b8cb6289ece347be276421af1e76f2b0b7167d08b749c0629083df0fe4a459d31d809fd93f1784b1097b6ef085631f8869bb42bbbc3afead96b06
7
- data.tar.gz: 78ebe543c96c49b1966c813960afc1d61f42497031f4f5c7d373aa8e332e0d4e27177b84ffbc4632ca707dbde4d0a1b35415f2a31e938c8eaa01ecdeb764f564
6
+ metadata.gz: d7ede622fc5363bc4fc85bbe9b8157a4b2d8c15c8df6dcd74b10cba9d14b59a34a695827ef413839ed9f94eadb4eca30ee0a03900fdc22687398eafe03894680
7
+ data.tar.gz: 8d7310709496de4db502e6a89b167ef6141931e85cf5f761a772a04907f79ba3155e64d4bf6b05785af6658ea0634b8db2e693fc951b754dac617c1e7c1abec0
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
1
  # bay
2
- ------
3
2
 
4
- A simple theme for Jekyll. Inspired by http://dangrover.com/. Current theme used at https://eliottvincent.com.
3
+ Bay is a simple theme for Jekyll. [[view live]](https://eliottvincent.github.io/bay)
5
4
 
6
- ### [View Live →](https://eliottvincent.github.io/bay)
5
+ Inspired by [dangrover.com](http://dangrover.com/). Current theme used at [eliottvincent.com](http://eliottvincent.com/).
7
6
 
8
7
  ![](/screenshot.png)
9
8
 
@@ -20,7 +19,7 @@ gem "minima"
20
19
  ```
21
20
  with:
22
21
  ```
23
- gem "bay_jekyll_theme", "~> 1.0.8"
22
+ gem "bay_jekyll_theme"
24
23
  ```
25
24
 
26
25
  Open `_config.yml` and replace the line:
@@ -1,13 +1,16 @@
1
- <div id="wechat-widget">
2
- <p>
3
- {% for contact in site.footer.contact %}
4
- {% if contact.name == 'WeChat' %}
5
- Find me on WeChat with the ID <strong>{{ contact.value }}</strong>,
6
- {% break %}
7
- {% endif %}
8
- {% endfor %}
9
- or scan my QR code:
10
- </p>
1
+ {% for contact in site.footer.contact %}
2
+ {% if contact.name == 'WeChat' %}
3
+ {% assign wechat_username = contact.value %}
4
+ {% break %}
5
+ {% endif %}
6
+ {% endfor %}
11
7
 
12
- <img src="{{ "/assets/img/wechat-qr-code.png" | absolute_url }}" alt="QR code" id="qr-code" />
13
- </div>
8
+ {% if wechat_username %}
9
+ <div id="wechat-widget">
10
+ <p>
11
+ Find me on WeChat with the ID <strong>{{ wechat_username }}</strong>, or scan my QR code:
12
+ </p>
13
+
14
+ <img src="{{ "/assets/img/wechat-qr-code.png" | absolute_url }}" alt="QR code" id="qr-code" />
15
+ </div>
16
+ {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bay_jekyll_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliott Vincent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll