spaacedout 1.0.3 → 1.1.3

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: acbc39028e6be759c8f14d880e00e7021bf95f590790e4cd2abebddfa4b57aac
4
- data.tar.gz: 206db9b10a5698cf8d72c10124672bb8afd957f5a999b987785f89754f4a35b2
3
+ metadata.gz: 858552b25a1a720432ae2b1245e30b0483626d692dbdd49867c5b38c16ef0e7f
4
+ data.tar.gz: c3f8c560a92c1721fa99baf2dbe1bd96b02d58ffe8d649019ae190c2a2eaa2de
5
5
  SHA512:
6
- metadata.gz: 51bc712c94f15ddd3fbc5d5da3b32a313c7c25ae05c1167ac6dd7dfc2500e410efb4eda26afaef2c6800ac2e1b27bc0741277d1a4d0fc5e3dec511e35e137ea5
7
- data.tar.gz: 8cb0d7d00404c5cbbd3a99c01e9f51cdceab47ca49a4d9d44449614ca484b790f7a190383b1238d09d620e0d6e33d22a1202ac1b9b679b6580f5b83e544b9175
6
+ metadata.gz: 67fc3f00b24a7f3e34bde0d649b50c2159f22266a9feac3ecae77da38d6a6f48b623d167f93dc8df2e2fc951c85c5b029c040e7e8e1af74f9495b50d7e4d8fe4
7
+ data.tar.gz: 044ca132c24699ec04bcf8ae2086da2c8296567cdf35212e2f9dd99ca6585e155499991b5cefab4492fd7f166a9292ee8c461b9205c74a2c4b71649fc8b8104b
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
@@ -125,7 +125,18 @@ The following plugins are installed in the *SpaceOut* theme:
125
125
  Bug reports and pull requests are welcome on GitHub at [https://github.com/jasongaylord/SpaacedOut](https://jasong.us/2ywUm3C).
126
126
 
127
127
  # Development
128
- I've blogged about getting started with themes and Jekyl. You can read more about it at [https://www.jasongaylord.com/blog/creating-a-jekyll-theme-from-windows](https://jasong.us/35luIer)
128
+ I've blogged about getting started with themes and Jekyll. You can read more about it at [https://www.jasongaylord.com/blog/creating-a-jekyll-theme-from-windows](https://jasong.us/35luIer)
129
129
 
130
130
  # License
131
- The theme is available as open source under the terms of the [MIT License](https://jasong.us/2zlpRh5).
131
+ The theme is available as open source under the terms of the [MIT License](https://jasong.us/2zlpRh5).
132
+
133
+ # Change Log
134
+ The changes made since version 1.x are documented below.
135
+
136
+ ## Version 1.1.x - July 9, 2020
137
+ - FEATURE: Added the appropriate attributes to links for better accessibility and best practices for security. This will be reflected in a Google Lighthouse score.
138
+ - FEATURE: Updated the script that opens links in a new window to look for links that direct users to another area of a same page (`hash` link) so they don't open in a new window.
139
+
140
+ ## Version 1.0.x - May 15, 2020
141
+ - BUG: Updated the tags page so the tags can be clicked
142
+ - BUG: Updated the issues with the pager so the first page could be browsed correctly and mobile works.
@@ -1,2 +1,2 @@
1
- <blockquote>
2
- <div class="notice info">
1
+ <blockquote class="notice">
2
+ <div class="info">
@@ -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>
@@ -1,2 +1,2 @@
1
- <blockquote>
2
- <div class="notice warning">
1
+ <blockquote class="notice">
2
+ <div class="warning">
@@ -1,4 +1,4 @@
1
- .notice {
1
+ blockquote.notice {
2
2
  margin: 30px 0;
3
3
  padding: 10px;
4
4
  border-radius: 5px;
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.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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaacedout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Gaylord
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '3.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: '3.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-avatar
29
29
  requirement: !ruby/object:Gem::Requirement