spaacedout 1.1.0 → 1.2.0
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 +4 -4
- data/README.md +14 -3
- data/_includes/info-notice.html +2 -2
- data/_includes/post/edit.html +1 -1
- data/_includes/social-links.html +9 -9
- data/_includes/warning-notice.html +2 -2
- data/_sass/core/notice.scss +1 -1
- data/assets/js/utils.js +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 698a11cb77617b28645d9dcf790565abfcc05dd5db7d4597a2f8f703065b39f9
|
4
|
+
data.tar.gz: 0bb254c6f3c37cf656f41af796ff791522954df99eed243fa47d153f8b864d7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e881a6ee5a11e38e3291604b6ae0039221ed103eb39d533007dff8994a42c78887f521f62da2dbd8b547658519db1315269bce152941f69ddc4dba7518d33f76
|
7
|
+
data.tar.gz: a0f378e3fb76d396c10c74e8501e4a84c6bcff03a5384aec729d5a4dffef89627ff5108a2dc2c63b6802a0e3229f95ec35059c16bdaf0400e740b793181560cf
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[](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
|
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.
|
data/_includes/info-notice.html
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
<blockquote>
|
2
|
-
<div class="
|
1
|
+
<blockquote class="notice">
|
2
|
+
<div class="info">
|
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>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<blockquote>
|
2
|
-
<div class="
|
1
|
+
<blockquote class="notice">
|
2
|
+
<div class="warning">
|
data/_sass/core/notice.scss
CHANGED
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
|
}
|
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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Gaylord
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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: '
|
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: '
|
26
|
+
version: '3.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-avatar
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.2.10
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.2.10
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|