spaacedout 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2e673b1216d5de609f61335f792223e79c6ae21dd6b97a34ec9a9e69f483f93
4
- data.tar.gz: f7da0da6753838d3e89c5d08bc55779c333a2cc44e20c112576d8c53653c86f5
3
+ metadata.gz: acbc39028e6be759c8f14d880e00e7021bf95f590790e4cd2abebddfa4b57aac
4
+ data.tar.gz: 206db9b10a5698cf8d72c10124672bb8afd957f5a999b987785f89754f4a35b2
5
5
  SHA512:
6
- metadata.gz: 15e39eb5fbf84e4ed606fc710827c06b2e5a5bb601a705d323e65831717da599f35370c984619417e1362151ee63e959f08ceb59005038d73d908656f3700327
7
- data.tar.gz: 194826dae67fca9244bbc01cc617fab1ae9e2d3c4efe4be67509a08cee5f73ff28c2a650781a91cae3aa9f71cad05e922133d862d509c5555cdcfe165312654c
6
+ metadata.gz: 51bc712c94f15ddd3fbc5d5da3b32a313c7c25ae05c1167ac6dd7dfc2500e410efb4eda26afaef2c6800ac2e1b27bc0741277d1a4d0fc5e3dec511e35e137ea5
7
+ data.tar.gz: 8cb0d7d00404c5cbbd3a99c01e9f51cdceab47ca49a4d9d44449614ca484b790f7a190383b1238d09d620e0d6e33d22a1202ac1b9b679b6580f5b83e544b9175
@@ -1,3 +1,3 @@
1
1
  <footer>
2
- &copy; 2020 {{ site.title }}. Theme from <a href="https://github.com/jasongaylord/SpaacedOut" target="_blank">jasongaylord/SpaacedOut</a>.
2
+ &copy; 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>
@@ -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>
@@ -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">&laquo; Prev</a>{% else %}<span class="prev">&laquo; 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 &raquo;</a>{% else %}<span class="next">Next &raquo;</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">&laquo; Prev</a>{% else %}<span class="prev">&laquo; 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 &raquo;</a>{% else %}<span class="next">Next &raquo;</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 %}
@@ -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>
@@ -1,4 +1,4 @@
1
1
  {% assign tags = page.tags | default: post.tags %}
2
2
  {% for tag in tags %}
3
- <li><a href="{{ site.baseurl }}/tags/#{{ tag }}">{{ tag }}</a></li>
3
+ <li><a href="{{ site.baseurl }}/tags/#{{ tag }}" title="{{ tag }}" aria-label="{{ tag }}">{{ tag }}</a></li>
4
4
  {% endfor %}
@@ -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 | "/feed.xml" }}" target="_blank"><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"><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>
@@ -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 }}
@@ -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.setAttribute("target", "_blank");
87
+ if (link.indexOf("#") != 0) {
88
+ link.setAttribute("target", "_blank");
89
+ link.setAttribute("rel", "noopener");
90
+ }
88
91
  }
89
92
  }
90
93
  }
@@ -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.2
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-05-15 00:00:00.000000000 Z
11
+ date: 2020-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll