spaacedout 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/post/edit.html +1 -1
- data/_includes/social-links.html +9 -9
- data/assets/js/utils.js +1 -1
- 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: 429eca55432644e306ac4da341384e7cb4ec0db0620e34bd087ae94a5ca60a37
|
4
|
+
data.tar.gz: 225860ae6af371c69f6a5440bd507c2acc594bd0f1e91a8fe5949107666dbf65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb1dd2ee9636ec347ab88da6b1ac6c37bb3741c78d5c27a463495f360d1690e5554b74af449348a8a1c86630875db4f32f297c876c0a30888a3eb07158116870
|
7
|
+
data.tar.gz: 2f0392cf30c8ef2ca891a734e201014b4f5569c38d10a69085407f12768aa67bf38dc2613dafec9fe83bce3f2184b07db9dd28dc89ce168ffe76137ab4bf9f18
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/spaacedout.svg)](https://badge.fury.io/rb/spaacedout)
|
2
2
|
|
3
3
|
# Welcome to the SpaacedOut Jekyll Theme
|
4
4
|
Here's a new, responsive GitHub Pages and Jekyll theme called SpaacedOut. You can see the full details of this theme at
|
data/_includes/post/edit.html
CHANGED
@@ -8,4 +8,4 @@
|
|
8
8
|
{% assign git_repository = site.git.repository | default: site.github.repository_url | default: 'jekyll' %}
|
9
9
|
{% assign git_branch = site.git.branch | default: site.github.source.branch | default: 'gh-pages' %}
|
10
10
|
|
11
|
-
<a href="{{ git_host }}{{ git_owner }}//{{ git_repository }}/edit/{{ git_branch }}/{{ path }}" target="_blank" title="Suggest an edit" aria-label="Suggest an edit">suggest edit</a>
|
11
|
+
<a href="{{ git_host }}{{ git_owner }}//{{ git_repository }}/edit/{{ git_branch }}/{{ path }}" target="_blank" title="Suggest an edit" aria-label="Suggest an edit" rel="noopener">suggest edit</a>
|
data/_includes/social-links.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
<ul class="social-media-list">
|
2
|
-
{% if site.social.facebook %}<li><a href="https://www.facebook.com/{{ site.social.facebook | cgi_escape | escape }}" target="_blank" title="Facebook" aria-label="Facebook"><i class="fab fa-facebook"></i></a></li>{% endif %}
|
3
|
-
{% if site.social.github %}<li><a href="https://github.com/{{ site.social.github | cgi_escape | escape }}" target="_blank" title="GitHub" aria-label="GitHub"><i class="fab fa-github"></i></a></li>{% endif %}
|
4
|
-
{% if site.social.instagram %}<li><a href="https://instagram.com/{{ site.social.instagram | cgi_escape | escape }}" target="_blank" title="Instagram" aria-label="Instagram"><i class="fab fa-instagram"></i></a></li>{% endif %}
|
5
|
-
{% if site.social.linkedin %}<li><a href="https://www.linkedin.com/in/{{ site.social.linkedin | cgi_escape | escape }}" target="_blank" title="LinkedIn" aria-label="LinkedIn"><i class="fab fa-linkedin"></i></a></li>{% endif %}
|
6
|
-
{% if site.social.pinterest %}<li><a href="https://www.pinterest.com/{{ site.social.pinterest | cgi_escape | escape }}" target="_blank" title="Pinterest" aria-label="Pinterest"><i class="fab fa-pinterest"></i></a></li>{% endif %}
|
7
|
-
{% if site.social.stackoverflow %}<li><a href="https://stackoverflow.com/users/{{ site.social.stackoverflow | cgi_escape | escape }}/" target="_blank" title="Stack Overflow" aria-label="Stack Overflow"><i class="fab fa-stack-overflow"></i></a></li>{% endif %}
|
8
|
-
{% if site.social.twitter %}<li><a href="https://twitter.com/{{ site.social.twitter | cgi_escape | escape }}" target="_blank" title="Twitter" aria-label="Twitter"><i class="fab fa-twitter"></i></a></li>{% endif %}
|
9
|
-
{% if site.social.youtube %}<li><a href="https://youtube.com/{{ site.social.youtube | cgi_escape | escape }}" target="_blank" title="Youtube" aria-label="Youtube"><i class="fab fa-youtube"></i></a></li>{% endif %}
|
10
|
-
{% if site.rss %}<li><a href="{{ site.feed.url | '/feed.xml' }}" target="_blank" title="RSS" aria-label="RSS"><i class="fas fa-rss"></i></a></li>{% endif %}
|
2
|
+
{% if site.social.facebook %}<li><a href="https://www.facebook.com/{{ site.social.facebook | cgi_escape | escape }}" target="_blank" title="Facebook" aria-label="Facebook" rel="noopener"><i class="fab fa-facebook"></i></a></li>{% endif %}
|
3
|
+
{% if site.social.github %}<li><a href="https://github.com/{{ site.social.github | cgi_escape | escape }}" target="_blank" title="GitHub" aria-label="GitHub" rel="noopener"><i class="fab fa-github"></i></a></li>{% endif %}
|
4
|
+
{% if site.social.instagram %}<li><a href="https://instagram.com/{{ site.social.instagram | cgi_escape | escape }}" target="_blank" title="Instagram" aria-label="Instagram" rel="noopener"><i class="fab fa-instagram"></i></a></li>{% endif %}
|
5
|
+
{% if site.social.linkedin %}<li><a href="https://www.linkedin.com/in/{{ site.social.linkedin | cgi_escape | escape }}" target="_blank" title="LinkedIn" aria-label="LinkedIn" rel="noopener"><i class="fab fa-linkedin"></i></a></li>{% endif %}
|
6
|
+
{% if site.social.pinterest %}<li><a href="https://www.pinterest.com/{{ site.social.pinterest | cgi_escape | escape }}" target="_blank" title="Pinterest" aria-label="Pinterest" rel="noopener"><i class="fab fa-pinterest"></i></a></li>{% endif %}
|
7
|
+
{% if site.social.stackoverflow %}<li><a href="https://stackoverflow.com/users/{{ site.social.stackoverflow | cgi_escape | escape }}/" target="_blank" title="Stack Overflow" aria-label="Stack Overflow" rel="noopener"><i class="fab fa-stack-overflow"></i></a></li>{% endif %}
|
8
|
+
{% if site.social.twitter %}<li><a href="https://twitter.com/{{ site.social.twitter | cgi_escape | escape }}" target="_blank" title="Twitter" aria-label="Twitter"><i class="fab fa-twitter" rel="noopener"></i></a></li>{% endif %}
|
9
|
+
{% if site.social.youtube %}<li><a href="https://youtube.com/{{ site.social.youtube | cgi_escape | escape }}" target="_blank" title="Youtube" aria-label="Youtube"><i class="fab fa-youtube" rel="noopener"></i></a></li>{% endif %}
|
10
|
+
{% if site.rss %}<li><a href="{{ site.feed.url | '/feed.xml' }}" target="_blank" title="RSS" aria-label="RSS" rel="noopener"><i class="fas fa-rss"></i></a></li>{% endif %}
|
11
11
|
</ul>
|
data/assets/js/utils.js
CHANGED
@@ -84,7 +84,7 @@ var SpaacedOut = (function() {
|
|
84
84
|
if (postContent.length > 0) {
|
85
85
|
var links = postContent[0].getElementsByTagName("a");
|
86
86
|
for (var link of links) {
|
87
|
-
if (link.
|
87
|
+
if (link.hash.length == 0) {
|
88
88
|
link.setAttribute("target", "_blank");
|
89
89
|
link.setAttribute("rel", "noopener");
|
90
90
|
}
|