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 +4 -4
- data/_includes/footer.html +8 -2
- data/assets/js/app/main.js +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c015de46e5adf43b10b898ce20cd796fe6744edeee311937898ab4166cfb6da
|
4
|
+
data.tar.gz: bd46590ad92ce70e55c503bf1c72c69fa64a7124b133aa03632809ea4775e442
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 816b4b8fcfb2438cebcbe379c134f91023e0ebd387ed784d2bbce951b3524b2d91d7d7bf8b1062243d203a4aa3dcb2222014c0050e03545d2bd371414322a60a
|
7
|
+
data.tar.gz: b02983b4a028a77523fb33df701ed38dbe65e95db4d3efe39c373881dbcc5bde18aec87573802e36fc5b29b7a9680740e17e244896865c1bc0bc8aacbdf49b95
|
data/_includes/footer.html
CHANGED
@@ -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
|
-
|
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 %}
|
data/assets/js/app/main.js
CHANGED
@@ -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
|
});
|