spaacedout 1.0.1 → 1.1.2
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/end-notice.html +2 -0
- data/_includes/footer.html +1 -1
- data/_includes/header.html +4 -4
- data/_includes/info-notice.html +2 -0
- data/_includes/pagination.html +2 -33
- 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/_includes/warning-notice.html +2 -0
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +9 -7
- data/_layouts/page.html +4 -4
- data/_layouts/post.html +4 -2
- data/_sass/core/core.scss +2 -1
- data/_sass/core/notice.scss +16 -0
- data/_sass/core/post.scss +5 -1
- data/_sass/variables/variables.scss +1 -0
- data/assets/js/utils.js +4 -1
- data/assets/pages/tags.md +49 -0
- metadata +9 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04c32188bdca322b517acd0c4f70efda351d27996b933fec8f9e54d91e09a4fd
|
|
4
|
+
data.tar.gz: ad088f9e70d6bfcbebb661d11b2382a96a1d52eb54840dbc805b20ab4f7ec5f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18a6c38b112549b5a37bb9db9b18419b5995cbb89a2a7331f2d80e0854304403e5b863c6cb5d60cdd0d0e69a6a284c537812b381541b78cb7f7703a17eadc58c
|
|
7
|
+
data.tar.gz: feaee24f63eae102cebddc287481620e81a4853bc6e2a22c37053f355ee9b84d23b917424a3100dcd441b5018da8a4eeb2a0324d5f93ddcadcc0d6e575ca44c2
|
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/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
|
@@ -4,38 +4,7 @@
|
|
|
4
4
|
{% assign current_modulo = paginator.page | minus: 1 | modulo: site.page_group_size | plus: 1 %}
|
|
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
|
-
<div class="pagination">
|
|
8
|
-
{% if paginator.previous_page %}
|
|
9
|
-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
|
|
10
|
-
{% else %}
|
|
11
|
-
<span>« Prev</span>
|
|
12
|
-
{% endif %}
|
|
13
|
-
{% if low_page > 1 %}
|
|
14
|
-
<a href="/">1</a>
|
|
15
|
-
|
|
16
|
-
{% assign previous_page_group = low_page | minus: 1 %}
|
|
17
|
-
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', previous_page_group }}">...</a>
|
|
18
|
-
{% endif %}
|
|
19
|
-
{% for page in (low_page..high_page) %}
|
|
20
|
-
{% if page == paginator.page %}
|
|
21
|
-
<span>{{ page }}</span>
|
|
22
|
-
{% elsif page == 1 %}
|
|
23
|
-
<a href="/">{{ page }}</a>
|
|
24
|
-
{% else %}
|
|
25
|
-
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
|
26
|
-
{% endif %}
|
|
27
|
-
{% endfor %}
|
|
28
|
-
{% if paginator.total_pages > high_page %}
|
|
29
|
-
{% assign next_page_group = high_page | plus: 1 %}
|
|
30
|
-
{% if next_page_group < paginator.total_pages %}
|
|
31
|
-
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', next_page_group }}">...</a>
|
|
32
|
-
{% endif %}
|
|
33
|
-
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', paginator.total_pages }}">{{paginator.total_pages}}</a>
|
|
34
|
-
{% endif %}
|
|
35
|
-
{% if paginator.next_page %}
|
|
36
|
-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
|
|
37
|
-
{% else %}
|
|
38
|
-
<span>Next »</span>
|
|
39
|
-
{% endif %}
|
|
7
|
+
<div class="pagination">
|
|
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 %}
|
|
40
9
|
</div>
|
|
41
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" rel="noopener">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" 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>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
{{ content }}
|
|
6
|
+
<div class="wrapper">
|
|
7
|
+
<div class="home">
|
|
5
8
|
{% if page.title %}
|
|
6
9
|
<h1 class="page-heading">{{ page.title }}</h1>
|
|
7
10
|
{% endif %}
|
|
8
|
-
|
|
9
|
-
{{ content }}
|
|
10
|
-
|
|
11
|
+
|
|
11
12
|
{% if site.posts.size > 0 %}
|
|
12
13
|
<div class="posts-list">
|
|
13
14
|
{% for post in paginator.posts %}
|
|
14
15
|
{% unless post.redirect %}
|
|
15
16
|
<header class="post-header">
|
|
16
|
-
<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>
|
|
17
18
|
{% include post/meta.html %}
|
|
18
19
|
</header>
|
|
19
20
|
|
|
@@ -24,7 +25,7 @@ layout: default
|
|
|
24
25
|
<img src="{{post.excerpt_image }}" />
|
|
25
26
|
{% endif %}
|
|
26
27
|
{{ post.excerpt }}
|
|
27
|
-
<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>
|
|
28
29
|
</div>
|
|
29
30
|
{% else %}
|
|
30
31
|
{{ post.content }}
|
|
@@ -35,4 +36,5 @@ layout: default
|
|
|
35
36
|
</div>
|
|
36
37
|
{% include pagination.html %}
|
|
37
38
|
{% endif %}
|
|
38
|
-
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
data/_layouts/page.html
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
|
-
<article class="page">
|
|
5
4
|
|
|
5
|
+
<div class="wrapper">
|
|
6
|
+
<article class="page">
|
|
6
7
|
<header class="post-header">
|
|
7
8
|
<h1 class="post-title">{{ page.title | escape }}</h1>
|
|
8
9
|
</header>
|
|
9
|
-
|
|
10
10
|
<div class="post-content">
|
|
11
11
|
{{ content }}
|
|
12
12
|
</div>
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
</article>
|
|
14
|
+
</div>
|
data/_layouts/post.html
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
|
-
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
|
5
4
|
|
|
5
|
+
<div class="wrapper">
|
|
6
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
|
6
7
|
<header class="post-header">
|
|
7
8
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
8
9
|
{% include post/meta.html %}
|
|
@@ -18,4 +19,5 @@ layout: default
|
|
|
18
19
|
{% endif %}
|
|
19
20
|
|
|
20
21
|
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
|
21
|
-
</article>
|
|
22
|
+
</article>
|
|
23
|
+
</div>
|
data/_sass/core/core.scss
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.notice {
|
|
2
|
+
margin: 30px 0;
|
|
3
|
+
padding: 10px;
|
|
4
|
+
border-radius: 5px;
|
|
5
|
+
|
|
6
|
+
&.info {
|
|
7
|
+
border: 1px solid $color-lightblue;
|
|
8
|
+
background-color: lighten($color-lightblue, 30%);
|
|
9
|
+
color: darken($color-lightblue, 30%);
|
|
10
|
+
}
|
|
11
|
+
&.warning {
|
|
12
|
+
border: 1px solid $color-red;
|
|
13
|
+
background-color: lighten($color-red, 30%);
|
|
14
|
+
color: darken($color-red, 30%);
|
|
15
|
+
}
|
|
16
|
+
}
|
data/_sass/core/post.scss
CHANGED
|
@@ -18,6 +18,7 @@ $color-blue: #0a59b0 !default;
|
|
|
18
18
|
$color-teal: #5CCDDE !default;
|
|
19
19
|
$color-navy: #021523 !default;
|
|
20
20
|
$color-yellow: #ffc107 !default;
|
|
21
|
+
$color-red: #D9534F !default;
|
|
21
22
|
$color-orange: #FF6154 !default;
|
|
22
23
|
$color-purple: #98b8fe !default;
|
|
23
24
|
$color-white: #fff !default;
|
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.hash.length == 0) {
|
|
88
|
+
link.setAttribute("target", "_blank");
|
|
89
|
+
link.setAttribute("rel", "noopener");
|
|
90
|
+
}
|
|
88
91
|
}
|
|
89
92
|
}
|
|
90
93
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Tags
|
|
3
|
+
permalink: /tags/
|
|
4
|
+
include_nav: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
SpaacedOut.ready(() => {
|
|
9
|
+
let title = document.getElementsByClassName('post-title')
|
|
10
|
+
if (title) {
|
|
11
|
+
title[0].style.display = 'none'
|
|
12
|
+
}
|
|
13
|
+
let tag = window.location.hash
|
|
14
|
+
if(tag) {
|
|
15
|
+
let tagElement = document.getElementById(tag.substring(1))
|
|
16
|
+
if (tagElement) {
|
|
17
|
+
tagElement.style.display = 'block'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
// Let's just show them all
|
|
22
|
+
var tags = document.getElementsByClassName('tag')
|
|
23
|
+
for (var tagElement of tags) {
|
|
24
|
+
if (tagElement) {
|
|
25
|
+
tagElement.style.display = 'block'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
{% assign tags = site.tags %}
|
|
33
|
+
|
|
34
|
+
<div class="tag_page">
|
|
35
|
+
{% for tag in tags %}
|
|
36
|
+
{% assign tagname = tag | first | slugify %}
|
|
37
|
+
<div id="{{ tagname }}" class="tag">
|
|
38
|
+
<h2>#{{ tagname }} Posts</h2>
|
|
39
|
+
{% assign posts = tag[1] %}
|
|
40
|
+
<ul>
|
|
41
|
+
{% for post in posts %}
|
|
42
|
+
<li>
|
|
43
|
+
<a href="{{ site.baseurl }}{{ post.url }}" title="{{post.title}}" aria-label="{{post.title}}">{{post.title}}</a>
|
|
44
|
+
</li>
|
|
45
|
+
{% endfor %}
|
|
46
|
+
</ul>
|
|
47
|
+
</div>
|
|
48
|
+
{% endfor %}
|
|
49
|
+
</div>
|
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.1.2
|
|
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-01-27 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
|
|
@@ -151,6 +151,7 @@ files:
|
|
|
151
151
|
- _includes/comments/comments_link.html
|
|
152
152
|
- _includes/comments/disqus_comments.html
|
|
153
153
|
- _includes/comments/disqus_comments_link.html
|
|
154
|
+
- _includes/end-notice.html
|
|
154
155
|
- _includes/footer.html
|
|
155
156
|
- _includes/head.html
|
|
156
157
|
- _includes/head/google-adsense.html
|
|
@@ -158,12 +159,14 @@ files:
|
|
|
158
159
|
- _includes/head/stylesheets.html
|
|
159
160
|
- _includes/head/twitter.html
|
|
160
161
|
- _includes/header.html
|
|
162
|
+
- _includes/info-notice.html
|
|
161
163
|
- _includes/pagination.html
|
|
162
164
|
- _includes/post/archive_post.html
|
|
163
165
|
- _includes/post/edit.html
|
|
164
166
|
- _includes/post/meta.html
|
|
165
167
|
- _includes/post/tags.html
|
|
166
168
|
- _includes/social-links.html
|
|
169
|
+
- _includes/warning-notice.html
|
|
167
170
|
- _layouts/default.html
|
|
168
171
|
- _layouts/home.html
|
|
169
172
|
- _layouts/page.html
|
|
@@ -174,11 +177,13 @@ files:
|
|
|
174
177
|
- _sass/core/footer.scss
|
|
175
178
|
- _sass/core/header.scss
|
|
176
179
|
- _sass/core/main.scss
|
|
180
|
+
- _sass/core/notice.scss
|
|
177
181
|
- _sass/core/post.scss
|
|
178
182
|
- _sass/syntax-highlight.scss
|
|
179
183
|
- _sass/variables/variables.scss
|
|
180
184
|
- assets/js/utils.js
|
|
181
185
|
- assets/pages/archives.md
|
|
186
|
+
- assets/pages/tags.md
|
|
182
187
|
- assets/style.scss
|
|
183
188
|
- assets/syntax-highlight.scss
|
|
184
189
|
homepage: https://github.com/jasongaylord/SpaacedOut
|