seriously_simple_static_starter 0.6.6 → 0.6.7

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: 12606a16c739ad827c071ef2dc752cee7acb2a16e58665f4ef4bb6262accbd8c
4
- data.tar.gz: 5dc9cb2a6b25053d275a0d7dc6b9efa098a6cc448a9187047dc125bf9fdc06ce
3
+ metadata.gz: 3c015de46e5adf43b10b898ce20cd796fe6744edeee311937898ab4166cfb6da
4
+ data.tar.gz: bd46590ad92ce70e55c503bf1c72c69fa64a7124b133aa03632809ea4775e442
5
5
  SHA512:
6
- metadata.gz: 4c67ce47600127590ded58ae9fd90de637f94d54b526befa0581b46311d60b70fa6af3cbd860b8cfa54ad3b0724abd5d7e90e23a8ae80d8712eb5b96c82ac9c6
7
- data.tar.gz: 99eeeddc90e53900f3d52d371490f0ffacfb3c0f80dce48ccacc5ea7a4ce6fdc363c711cc794d413c6c09a538739ed14e8fe4530ffa3019e2c162a5aefcd4723
6
+ metadata.gz: 816b4b8fcfb2438cebcbe379c134f91023e0ebd387ed784d2bbce951b3524b2d91d7d7bf8b1062243d203a4aa3dcb2222014c0050e03545d2bd371414322a60a
7
+ data.tar.gz: b02983b4a028a77523fb33df701ed38dbe65e95db4d3efe39c373881dbcc5bde18aec87573802e36fc5b29b7a9680740e17e244896865c1bc0bc8aacbdf49b95
@@ -9,9 +9,15 @@
9
9
  {% if site.powered_by %}
10
10
  <div class="col-md-4 right text-right center-sm">
11
11
  <span class="powered_by">
12
- Powered by
12
+ {% if site.powered_by.text %}
13
+ {{site.powered_by.text}}
14
+ {% else %}
15
+ Powered by
16
+ {% endif %}
17
+ {% if site.powered_by.image_url %}<a href="{{site.powered_by.image_url}}">{% endif %}
13
18
  <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
14
- data-src="{{site.powered_by}}" alt="Powered by footer logo" />
19
+ data-src="{{site.powered_by.image_path}}" alt="{% if site.powered_by.image_alt %}{{site.powered_by.image_alt}}{% else %}Powered by footer logo{% endif %}" />
20
+ {% if site.powered_by.image_url %}</a>{% endif %}
15
21
  </span>
16
22
  </div>
17
23
  {% endif %}
@@ -134,4 +134,14 @@ $(document).ready(function () {
134
134
  });
135
135
  }
136
136
  // End Slider block instantiation
137
+
138
+ // Open External links in a new tab
139
+ $('a').each(function() {
140
+ var a = new RegExp('/' + window.location.host + '/');
141
+ if (!a.test(this.href)) {
142
+ if($(this).attr("target") != "_self"){
143
+ $(this).attr("target","_blank");
144
+ }
145
+ }
146
+ });
137
147
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seriously_simple_static_starter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby