spaacedout 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1af2adcf8d4523570706aea3d894b359a052e0b60b073f022934bcc84bfa750
4
- data.tar.gz: 9ff5a1959e905d57c716c8ab474d04f06fa492a794fd9c5744f2e8d751bb0f7c
3
+ metadata.gz: 429eca55432644e306ac4da341384e7cb4ec0db0620e34bd087ae94a5ca60a37
4
+ data.tar.gz: 225860ae6af371c69f6a5440bd507c2acc594bd0f1e91a8fe5949107666dbf65
5
5
  SHA512:
6
- metadata.gz: 02661ecf6d53bcac064ec2d39b04232a2286036c2950a83bddf172c8a1dddb201ca1d3d169aa3e06c2d191c2e4410d2dc61645fbd4b6b3faf02cf1425aa302a6
7
- data.tar.gz: f2754ca04cec04e0985bd9bdbf7c3aff68c35ae326b6f4ae0f8d1e6b10763e4433e11067ffe1a5b0b1bfdc0c52876b62c087860265ff963341649e80d6acafa5
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/SpaacedOut.svg)](https://badge.fury.io/rb/SpaacedOut)
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
@@ -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>
@@ -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>
@@ -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.href.indexOf("#") != 0) {
87
+ if (link.hash.length == 0) {
88
88
  link.setAttribute("target", "_blank");
89
89
  link.setAttribute("rel", "noopener");
90
90
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaacedout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Gaylord