phantom-blergh 0.1.4 → 0.1.5
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/collection-index.html +2 -2
- data/_includes/disqus_comments.html +1 -1
- data/_includes/footer.html +8 -15
- data/_includes/head.html +43 -18
- data/_includes/header.html +5 -5
- data/_includes/index.html +4 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3455f63b7ca2123923d32b0c270b17d3d0624d7
|
4
|
+
data.tar.gz: fbe7d8dab8eb540c8ed19d1b2fa9582a367e87c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7840c572e725eacdd0f5082e2065f68b23cb2616bd981cac2a828f08bbbc26953bf5f872465302a62702e110e1bb0b2173a9be1c9f5c3229ee2b31dec926a5e6
|
7
|
+
data.tar.gz: acc24468fd01577ece3de98f77b6a5944a116c26090650807f1eb0e5bebe879dbfa91f567af4cdf102f90d420415a3b80e0041b65d92b5f869c57fe116ca7f85
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<h1>{{ include.collection.label | capitalize }}</h1>
|
2
2
|
|
3
|
-
{% assign docs = include.collection.docs
|
3
|
+
{% assign docs = include.collection.docs %}
|
4
4
|
<section class="collection-index">
|
5
5
|
{% if docs.size == 0 %}
|
6
6
|
<p>No {{ include.collection.label }} found.</p>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
</pre></code>
|
13
13
|
{% endcomment %}
|
14
14
|
<article{% cycle '', ' class="alternate"' %}>
|
15
|
-
<a href="{{ item.url | relative_url }}">
|
15
|
+
<a href="{{ item.url | relative_url }}" rel="noopener">
|
16
16
|
<h2>{{ item.title | escape }} →</h2>
|
17
17
|
<div class="content">
|
18
18
|
{{ item.excerpt }}
|
@@ -15,5 +15,5 @@
|
|
15
15
|
(d.head || d.body).appendChild(s);
|
16
16
|
})();
|
17
17
|
</script>
|
18
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
18
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow noopener">comments powered by Disqus.</a></noscript>
|
19
19
|
{% endif %}
|
data/_includes/footer.html
CHANGED
@@ -15,8 +15,7 @@
|
|
15
15
|
<ul class="social-media-list icons">
|
16
16
|
{% if site.homepage_url %}
|
17
17
|
<li>
|
18
|
-
<a href="{{ site.homepage_url }}"
|
19
|
-
target="_blank" rel="me" class="icon fa-user-circle-o">
|
18
|
+
<a href="{{ site.homepage_url }}" target="_blank" rel="me noopener" class="icon fa-user-circle-o">
|
20
19
|
<span class="label">About</span>
|
21
20
|
</a>
|
22
21
|
</li>
|
@@ -24,8 +23,7 @@
|
|
24
23
|
|
25
24
|
{% if site.gitlab_username %}
|
26
25
|
<li>
|
27
|
-
<a href="https://gitlab.com/{{ site.gitlab_username }}"
|
28
|
-
target="_blank" rel="me" class="icon fa-gitlab">
|
26
|
+
<a href="https://gitlab.com/{{ site.gitlab_username }}" target="_blank" rel="me noopener" class="icon fa-gitlab">
|
29
27
|
<span class="label">GitLab</span>
|
30
28
|
</a>
|
31
29
|
</li>
|
@@ -33,8 +31,7 @@
|
|
33
31
|
|
34
32
|
{% if site.github_username %}
|
35
33
|
<li>
|
36
|
-
<a href="https://github.com/{{ site.github_username }}"
|
37
|
-
target="_blank" rel="me" class="icon fa-github h-card">
|
34
|
+
<a href="https://github.com/{{ site.github_username }}" target="_blank" rel="me noopener" class="icon fa-github h-card">
|
38
35
|
<span class="label">GitHub</span>
|
39
36
|
</a>
|
40
37
|
</li>
|
@@ -42,8 +39,7 @@
|
|
42
39
|
|
43
40
|
{% if site.twitter_username %}
|
44
41
|
<li>
|
45
|
-
<a href="https://twitter.com/{{ site.twitter_username }}"
|
46
|
-
target="_blank" rel="me" class="icon fa-twitter">
|
42
|
+
<a href="https://twitter.com/{{ site.twitter_username }}" target="_blank" rel="me noopener" class="icon fa-twitter">
|
47
43
|
<span class="label">Twitter</span>
|
48
44
|
</a>
|
49
45
|
</li>
|
@@ -51,8 +47,7 @@
|
|
51
47
|
|
52
48
|
{% if site.appnet_username %}
|
53
49
|
<li>
|
54
|
-
<a href="https://alpha.app.net/{{ site.appnet_username }}"
|
55
|
-
target="_blank" rel="me" class="icon fa-adn">
|
50
|
+
<a href="https://alpha.app.net/{{ site.appnet_username }}" target="_blank" rel="me noopener" class="icon fa-adn">
|
56
51
|
<span class="label">App.net</span>
|
57
52
|
</a>
|
58
53
|
</li>
|
@@ -60,8 +55,7 @@
|
|
60
55
|
|
61
56
|
{% if site.linkedin_username %}
|
62
57
|
<li>
|
63
|
-
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}"
|
64
|
-
target="_blank" rel="me" class="icon fa-linkedin">
|
58
|
+
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}" target="_blank" rel="me noopener" class="icon fa-linkedin">
|
65
59
|
<span class="label">LinkedIn</span>
|
66
60
|
</a>
|
67
61
|
</li>
|
@@ -69,8 +63,7 @@
|
|
69
63
|
|
70
64
|
{% if site.stackoverflow_id %}
|
71
65
|
<li>
|
72
|
-
<a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}?tab=profile"
|
73
|
-
target="_blank" rel="me" class="icon fa-stack-overflow">
|
66
|
+
<a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}?tab=profile" target="_blank" rel="me noopener" class="icon fa-stack-overflow">
|
74
67
|
<span class="label">Stack Overflow</span>
|
75
68
|
</a>
|
76
69
|
</li>
|
@@ -88,7 +81,7 @@
|
|
88
81
|
{% endif %}
|
89
82
|
All rights reserved
|
90
83
|
</li>
|
91
|
-
<li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
|
84
|
+
<li>Design: <a href="http://html5up.net" rel="noopener">HTML5 UP</a></li>
|
92
85
|
</ul>
|
93
86
|
</div>
|
94
87
|
|
data/_includes/head.html
CHANGED
@@ -2,24 +2,49 @@
|
|
2
2
|
<meta charset="utf-8" />
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
|
-
<script type="text/javascript">
|
6
|
-
(function() {
|
7
|
-
// redirect from http://thelonelyghost.gitlab.io/blog/foo -> https://blog.thelonelyghost.com/foo
|
8
|
-
// Someday this will be scripted into something with better hooks into Jekyll
|
9
|
-
if(window.location.hostname == 'thelonelyghost.gitlab.io' && (window.location.pathname || '').match(/^\/?blog\/?/i)) {
|
10
|
-
var path = (function(pathname) {
|
11
|
-
var parts = pathname.split('/');
|
12
|
-
while(parts.length > 0 && (parts[0] == '' || parts[0] == 'blog')) parts.shift();
|
13
|
-
return parts.length > 0 ? parts.join('/') : '';
|
14
|
-
})(window.location.pathname);
|
15
|
-
path += window.location.search;
|
16
|
-
path += window.location.hash;
|
17
|
-
window.location = 'https://blog.thelonelyghost.com/' + path;
|
18
|
-
}
|
19
|
-
})();
|
20
|
-
</script>
|
21
5
|
{% if site.features.https_only == true %}
|
22
|
-
<script type="text/javascript"
|
6
|
+
<script type="text/javascript">
|
7
|
+
(function() {
|
8
|
+
// Detect dev server environments
|
9
|
+
var isDevelopment = window.location.hostname == 'localhost' ||
|
10
|
+
(window.location.hostname || '').match(/\.local$/i) ||
|
11
|
+
window.location.hostname == '127.0.0.1' ||
|
12
|
+
window.location.hostname == '::1';
|
13
|
+
|
14
|
+
// redirect from http://thelonelyghost.gitlab.io/blog/foo -> https://blog.thelonelyghost.com/foo
|
15
|
+
// Someday this will be scripted into something with better hooks into Jekyll
|
16
|
+
if(window.location.hostname == 'thelonelyghost.gitlab.io' && (window.location.pathname || '').match(/^\/?blog\/?/i)) {
|
17
|
+
var path = (function(pathname) {
|
18
|
+
var parts = pathname.split('/');
|
19
|
+
while(parts.length > 0 && (parts[0] == '' || parts[0] == 'blog')) parts.shift();
|
20
|
+
return parts.length > 0 ? parts.join('/') : '';
|
21
|
+
})(window.location.pathname);
|
22
|
+
path += window.location.search;
|
23
|
+
path += window.location.hash;
|
24
|
+
window.location = 'https://blog.thelonelyghost.com/' + path;
|
25
|
+
}
|
26
|
+
// Ensures we're only serving via https, except when localhost development
|
27
|
+
if(window.location.protocol != 'https:' && !isDevelopment)
|
28
|
+
window.location.protocol = 'https:';
|
29
|
+
})();
|
30
|
+
</script>
|
31
|
+
{% else %}
|
32
|
+
<script type="text/javascript">
|
33
|
+
(function() {
|
34
|
+
// redirect from http://thelonelyghost.gitlab.io/blog/foo -> https://blog.thelonelyghost.com/foo
|
35
|
+
// Someday this will be scripted into something with better hooks into Jekyll
|
36
|
+
if(window.location.hostname == 'thelonelyghost.gitlab.io' && (window.location.pathname || '').match(/^\/?blog\/?/i)) {
|
37
|
+
var path = (function(pathname) {
|
38
|
+
var parts = pathname.split('/');
|
39
|
+
while(parts.length > 0 && (parts[0] == '' || parts[0] == 'blog')) parts.shift();
|
40
|
+
return parts.length > 0 ? parts.join('/') : '';
|
41
|
+
})(window.location.pathname);
|
42
|
+
path += window.location.search;
|
43
|
+
path += window.location.hash;
|
44
|
+
window.location = 'https://blog.thelonelyghost.com/' + path;
|
45
|
+
}
|
46
|
+
})();
|
47
|
+
</script>
|
23
48
|
{% endif %}
|
24
49
|
|
25
50
|
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
@@ -29,7 +54,7 @@
|
|
29
54
|
{% include opengraph-meta.html %}
|
30
55
|
{% include indie-web-signin.html %}
|
31
56
|
|
32
|
-
<link rel="
|
57
|
+
<link rel="icon" href="{{ "/assets/favicon.png" | relative_url }}" />
|
33
58
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
|
34
59
|
<!--[if lte IE 9]><link rel="stylesheet" href="{{ "/assets/css/ie9.css" | relative_url }}" /><![endif]-->
|
35
60
|
|
data/_includes/header.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<header id="header" role="banner">
|
2
2
|
<div class="inner">
|
3
3
|
|
4
|
-
<a class="logo" href="{{ "/" | relative_url}}">
|
4
|
+
<a class="logo" href="{{ "/" | relative_url}}" rel="noopener">
|
5
5
|
{% if site.logo_path %}
|
6
6
|
<span class="symbol"><img src="{{ site.logo_path | relative_url }}" alt="" /></span>
|
7
7
|
{% else %}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<!-- Nav -->
|
14
14
|
<nav>
|
15
15
|
<ul>
|
16
|
-
|
16
|
+
<li><a href="#menu" rel="noopener">Menu</a></li>
|
17
17
|
</ul>
|
18
18
|
</nav>
|
19
19
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<div class="trigger">
|
31
31
|
{% for my_page in site.pages %}
|
32
32
|
{% if my_page.title %}
|
33
|
-
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
33
|
+
<a class="page-link" rel="noopener" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
34
34
|
{% endif %}
|
35
35
|
{% endfor %}
|
36
36
|
</div>
|
@@ -45,12 +45,12 @@
|
|
45
45
|
<ul>
|
46
46
|
{% if site.homepage_url %}
|
47
47
|
<li>
|
48
|
-
<a href="{{ site.homepage_url }}" rel="me"><i class="icon fa-user-circle"></i> About</a>
|
48
|
+
<a href="{{ site.homepage_url }}" rel="me noopener"><i class="icon fa-user-circle"></i> About</a>
|
49
49
|
</li>
|
50
50
|
{% endif %}
|
51
51
|
{% for my_page in site.pages %}
|
52
52
|
{% if my_page.title %}
|
53
|
-
<li><a href="{{ my_page.url | relative_url }}"><i class="icon fa-{{ my_page.icon | default: 'archive' }}"></i> {{ my_page.title | escape }}</a></li>
|
53
|
+
<li><a href="{{ my_page.url | relative_url }}" rel="noopener"><i class="icon fa-{{ my_page.icon | default: 'archive' }}"></i> {{ my_page.title | escape }}</a></li>
|
54
54
|
{% endif %}
|
55
55
|
{% endfor %}
|
56
56
|
</ul>
|
data/_includes/index.html
CHANGED
@@ -11,13 +11,12 @@
|
|
11
11
|
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
12
12
|
|
13
13
|
<h2>
|
14
|
-
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
14
|
+
<a class="post-link" href="{{ post.url | relative_url }}" rel="noopener">{{ post.title | escape }}</a>
|
15
15
|
</h2>
|
16
16
|
</li>
|
17
17
|
{% endfor %}
|
18
18
|
</ul>
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
-->
|
19
|
+
{% comment %}
|
20
|
+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}" rel="noopener">via RSS</a></p>
|
21
|
+
{% endcomment %}
|
23
22
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phantom-blergh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Alexander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|