spaacedout 1.0.2 → 1.0.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 +4 -4
- data/_includes/footer.html +1 -1
- data/_includes/header.html +4 -4
- data/_includes/pagination.html +1 -1
- data/_includes/post/archive_post.html +1 -1
- data/_includes/post/edit.html +1 -1
- data/_includes/post/tags.html +1 -1
- data/_includes/social-links.html +9 -9
- data/_layouts/home.html +2 -2
- data/assets/js/utils.js +4 -1
- data/assets/pages/tags.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acbc39028e6be759c8f14d880e00e7021bf95f590790e4cd2abebddfa4b57aac
|
|
4
|
+
data.tar.gz: 206db9b10a5698cf8d72c10124672bb8afd957f5a999b987785f89754f4a35b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51bc712c94f15ddd3fbc5d5da3b32a313c7c25ae05c1167ac6dd7dfc2500e410efb4eda26afaef2c6800ac2e1b27bc0741277d1a4d0fc5e3dec511e35e137ea5
|
|
7
|
+
data.tar.gz: 8cb0d7d00404c5cbbd3a99c01e9f51cdceab47ca49a4d9d44449614ca484b790f7a190383b1238d09d620e0d6e33d22a1202ac1b9b679b6580f5b83e544b9175
|
data/_includes/footer.html
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<footer>
|
|
2
|
-
© 2020 {{ site.title }}. Theme from <a href="https://github.com/jasongaylord/SpaacedOut" target="_blank">jasongaylord/SpaacedOut</a>.
|
|
2
|
+
© 2020 {{ site.title }}. Theme from <a href="https://github.com/jasongaylord/SpaacedOut" target="_blank" title="Check out the SpaacedOut theme at GitHub" aria-label="Check out the SpaacedOut theme at GitHub">jasongaylord/SpaacedOut</a>.
|
|
3
3
|
</footer>
|
data/_includes/header.html
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<header class="header">
|
|
2
2
|
{% if site.contact.avatar-image %}
|
|
3
|
-
<a href="{{ "/" | relative_url }}"><img src="{{ site.contact.avatar-image }}" alt="{{ site.title | escape }}" class="site-avatar"></a>
|
|
3
|
+
<a href="{{ "/" | relative_url }}" title="{{ site.title | escape }}" aria-label="{{ site.title | escape }}"><img src="{{ site.contact.avatar-image }}" alt="{{ site.title | escape }}" class="site-avatar"></a>
|
|
4
4
|
{% endif %}
|
|
5
|
-
<a href="{{ "/" | relative_url }}" class="site-title" rel="author">{{ site.title | escape }}</a>
|
|
5
|
+
<a href="{{ "/" | relative_url }}" class="site-title" rel="author" title="{{ site.title | escape }}" aria-label="{{ site.title | escape }}">{{ site.title | escape }}</a>
|
|
6
6
|
{% if site.subtitle %}
|
|
7
7
|
<div class="site-subtitle">
|
|
8
8
|
{{ site.subtitle }}
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
{% assign my_page = site.pages | where: "path", path | first %}
|
|
27
27
|
{% if my_page.title or my_page.nav_title %}
|
|
28
28
|
{% assign title = my_page.nav_title | default: my_page.title %}
|
|
29
|
-
<li><a class="nav-link" href="{{ my_page.url | relative_url }}">{{ title | escape }}</a></li>
|
|
29
|
+
<li><a class="nav-link" href="{{ my_page.url | relative_url }}" title="{{ title | escape }}" aria-label="{{ title | escape }}">{{ title | escape }}</a></li>
|
|
30
30
|
{% endif %}
|
|
31
31
|
{% endfor %}
|
|
32
32
|
{% if site.contact.url %}
|
|
33
|
-
<li><a class="page-link" href="{{ site.contact.url }}">Contact</a></li>
|
|
33
|
+
<li><a class="page-link" href="{{ site.contact.url }}" title="Contact" aria-label="Contact">Contact</a></li>
|
|
34
34
|
{% endif %}
|
|
35
35
|
</ul>
|
|
36
36
|
</nav>
|
data/_includes/pagination.html
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
{% assign low_page = paginator.page | minus: current_modulo | plus: 1 %}
|
|
6
6
|
{% assign high_page = low_page | plus: site.page_group_size | minus: 1 | at_most: paginator.total_pages %}
|
|
7
7
|
<div class="pagination">
|
|
8
|
-
{% if paginator.previous_page %}<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-prev">« Prev</a>{% else %}<span class="prev">« Prev</span>{% endif %}{% if low_page > 1 %}<a href="{{ site.baseurl }}/" class="page-num">1</a>{% assign previous_page_group = low_page | minus: 1 %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', previous_page_group }}" class="page-num">...</a>{% endif %}{% for page in (low_page..high_page) %}{% if page == paginator.page %}<span class="page-num">{{ page }}</span>{% elsif page == 1 %}<a href="/" class="page-num">{{ page }}</a>{% else %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}" class="page-num">{{ page }}</a>{% endif %}{% endfor %}{% if paginator.total_pages > high_page %}{% assign next_page_group = high_page | plus: 1 %}{% if next_page_group < paginator.total_pages %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', next_page_group }}" class="page-total"> ...</a>{% endif %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', paginator.total_pages }}" class="page-total">{{paginator.total_pages}}</a>{% endif %}{% if paginator.next_page %}<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-next">Next »</a>{% else %}<span class="next">Next »</span>{% endif %}
|
|
8
|
+
{% if paginator.previous_page %}<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-prev" title="Previous page" aria-label="Previous page">« Prev</a>{% else %}<span class="prev">« Prev</span>{% endif %}{% if low_page > 1 %}<a href="{{ site.baseurl }}/" class="page-num" title="Page 1" aria-label="Page 1">1</a>{% assign previous_page_group = low_page | minus: 1 %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', previous_page_group }}" class="page-num" title="More pages" aria-label="More pages">...</a>{% endif %}{% for page in (low_page..high_page) %}{% if page == paginator.page %}<span class="page-num">{{ page }}</span>{% elsif page == 1 %}<a href="/" class="page-num" title="Page {{ page }}" aria-label="Page {{ page }}">{{ page }}</a>{% else %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}" class="page-num" title="Page {{ page }}" aria-label="Page {{ page }}">{{ page }}</a>{% endif %}{% endfor %}{% if paginator.total_pages > high_page %}{% assign next_page_group = high_page | plus: 1 %}{% if next_page_group < paginator.total_pages %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', next_page_group }}" class="page-total" title="More pages" aria-label="More pages"> ...</a>{% endif %}<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', paginator.total_pages }}" class="page-total">{{paginator.total_pages}}</a>{% endif %}{% if paginator.next_page %}<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-next" title="Next page" aria-label="Next page">Next »</a>{% else %}<span class="next">Next »</span>{% endif %}
|
|
9
9
|
</div>
|
|
10
10
|
{% endif %}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<ul>
|
|
11
11
|
{% endunless %}
|
|
12
12
|
<li>
|
|
13
|
-
<a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a>
|
|
13
|
+
<a href="{{ site.baseurl }}{{ post.url }}" title="{{post.title}}" aria-label="{{post.title}}">{{post.title}}</a>
|
|
14
14
|
<div class="meta">
|
|
15
15
|
{% if site.comments.enabled and site.comments.show_count == true %}
|
|
16
16
|
{% include comments/comments_link.html %}
|
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">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">suggest edit</a>
|
data/_includes/post/tags.html
CHANGED
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"><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"><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"><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"><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"><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"><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"><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"><i class="fab fa-youtube"></i></a></li>{% endif %}
|
|
10
|
-
{% if site.rss %}<li><a href="{{ site.feed.url |
|
|
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 %}
|
|
11
11
|
</ul>
|
data/_layouts/home.html
CHANGED
|
@@ -14,7 +14,7 @@ layout: default
|
|
|
14
14
|
{% for post in paginator.posts %}
|
|
15
15
|
{% unless post.redirect %}
|
|
16
16
|
<header class="post-header">
|
|
17
|
-
<h1 class="post-title p-name" itemprop="name headline"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title | escape }}</a></h1>
|
|
17
|
+
<h1 class="post-title p-name" itemprop="name headline"><a href="{{ site.baseurl }}{{ post.url }}" title="{{ post.title | escape }}" aria-label="{{ post.title | escape }}">{{ post.title | escape }}</a></h1>
|
|
18
18
|
{% include post/meta.html %}
|
|
19
19
|
</header>
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ layout: default
|
|
|
25
25
|
<img src="{{post.excerpt_image }}" />
|
|
26
26
|
{% endif %}
|
|
27
27
|
{{ post.excerpt }}
|
|
28
|
-
<a href="{{ post.url }}" class="read-more">Read More</a>
|
|
28
|
+
<a href="{{ post.url }}" class="read-more" title="Read more about {{ post.title }}" aria-label="Read more about {{ post.title }}">Read More</a>
|
|
29
29
|
</div>
|
|
30
30
|
{% else %}
|
|
31
31
|
{{ post.content }}
|
data/assets/js/utils.js
CHANGED
|
@@ -84,7 +84,10 @@ 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
|
-
link.
|
|
87
|
+
if (link.indexOf("#") != 0) {
|
|
88
|
+
link.setAttribute("target", "_blank");
|
|
89
|
+
link.setAttribute("rel", "noopener");
|
|
90
|
+
}
|
|
88
91
|
}
|
|
89
92
|
}
|
|
90
93
|
}
|
data/assets/pages/tags.md
CHANGED
|
@@ -40,7 +40,7 @@ include_nav: false
|
|
|
40
40
|
<ul>
|
|
41
41
|
{% for post in posts %}
|
|
42
42
|
<li>
|
|
43
|
-
<a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a>
|
|
43
|
+
<a href="{{ site.baseurl }}{{ post.url }}" title="{{post.title}}" aria-label="{{post.title}}">{{post.title}}</a>
|
|
44
44
|
</li>
|
|
45
45
|
{% endfor %}
|
|
46
46
|
</ul>
|
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.
|
|
4
|
+
version: 1.0.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-
|
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|