jekyll-whiteglass 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/_includes/fonts.html +5 -8
- data/_layouts/archive.html +11 -2
- data/_layouts/category_archives.html +11 -2
- data/_layouts/feed.xml +5 -0
- data/_layouts/home.html +14 -2
- data/_sass/whiteglass/_layout.scss +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9009cb05943048fffbf23fcaf8cc1887461b472c99f5ecc60c6500c1810370f
|
4
|
+
data.tar.gz: 33fd5d03e5fa3274fb3975ad1df628249171b25e15f62491928e0336e2268720
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb258c0441820890a8f4b9707bdfc1c03ce53dda6c7ac56bb8e8c302c5bf3beb6565ec8ea943e4048ac3544cd76447d2f4bbdea2092ed61ea759600954d4f55a
|
7
|
+
data.tar.gz: 12c0fe374e54bcaf9e326a9c49e23674cf9ee581d6620dff533cd2fae6a898e8eb0c486c0b77030f98ae18eb60c451e4f224527132b8214369b42f712d9e7b14
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/_includes/fonts.html
CHANGED
@@ -2,13 +2,10 @@
|
|
2
2
|
WebFontConfig = {
|
3
3
|
google: { families: [ 'Bitter:400,700,400italic:latin' ] }
|
4
4
|
};
|
5
|
-
(function() {
|
6
|
-
var wf =
|
7
|
-
wf.src =
|
8
|
-
|
9
|
-
wf.type = 'text/javascript';
|
10
|
-
wf.async = 'true';
|
11
|
-
var s = document.getElementsByTagName('script')[0];
|
5
|
+
(function(d) {
|
6
|
+
var wf = d.createElement('script'), s = d.scripts[0];
|
7
|
+
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
|
8
|
+
wf.async = true;
|
12
9
|
s.parentNode.insertBefore(wf, s);
|
13
|
-
})();
|
10
|
+
})(document);
|
14
11
|
</script>
|
data/_layouts/archive.html
CHANGED
@@ -19,10 +19,19 @@ layout: default
|
|
19
19
|
{{ post.date | date: "%b %-d, %Y" }}
|
20
20
|
{% if post.categories != empty or post.tags != empty %}
|
21
21
|
{% include category_links.html categories=post.categories tags=post.tags %}
|
22
|
-
{% endif %}
|
22
|
+
{% endif %}
|
23
|
+
{% if post.external-url %}
|
24
|
+
• <a href="{{ post.url | relative_url }}">Permalink</a>
|
25
|
+
{% endif %}
|
26
|
+
</span>
|
23
27
|
|
24
28
|
<h2>
|
25
|
-
|
29
|
+
{% capture link_lang %}{% if lang != empty %} lang="{{ lang }}"{% endif %}{% endcapture %}
|
30
|
+
{% if post.external-url %}
|
31
|
+
<a class="post-link" href="{{ post.external-url }}"{{ link_lang }}>{{ post.title | escape }} →</a>
|
32
|
+
{% else %}
|
33
|
+
<a class="post-link" href="{{ post.url | relative_url }}"{{ link_lang }}>{{ post.title | escape }}</a>
|
34
|
+
{% endif %}
|
26
35
|
</h2>
|
27
36
|
</li>
|
28
37
|
{% endfor %}
|
@@ -17,10 +17,19 @@ layout: default
|
|
17
17
|
{{ post.date | date: "%b %-d, %Y" }}
|
18
18
|
{% if post.categories != empty or post.tags != empty %}
|
19
19
|
{% include category_links.html categories=post.categories tags=post.tags %}
|
20
|
-
{% endif %}
|
20
|
+
{% endif %}
|
21
|
+
{% if post.external-url %}
|
22
|
+
• <a href="{{ post.url | relative_url }}">Permalink</a>
|
23
|
+
{% endif %}
|
24
|
+
</span>
|
21
25
|
|
22
26
|
<h2>
|
23
|
-
|
27
|
+
{% capture link_lang %}{% if lang != empty %} lang="{{ lang }}"{% endif %}{% endcapture %}
|
28
|
+
{% if post.external-url %}
|
29
|
+
<a class="post-link" href="{{ post.external-url }}"{{ link_lang }}>{{ post.title | escape }} →</a>
|
30
|
+
{% else %}
|
31
|
+
<a class="post-link" href="{{ post.url | relative_url }}"{{ link_lang }}>{{ post.title | escape }}</a>
|
32
|
+
{% endif %}
|
24
33
|
</h2>
|
25
34
|
</li>
|
26
35
|
{% endfor %}
|
data/_layouts/feed.xml
CHANGED
@@ -43,7 +43,12 @@ layout: null
|
|
43
43
|
{% else %}
|
44
44
|
<title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
|
45
45
|
{% endif %}
|
46
|
+
{% if post.external-url %}
|
47
|
+
<link href="{{ post.external-url }}" rel="alternate" type="text/html" />
|
48
|
+
<link href="{{ post.url | absolute_url }}" rel="related" type="text/html" title="{{ post.title | xml_escape }}" />
|
49
|
+
{% else %}
|
46
50
|
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
|
51
|
+
{% endif %}
|
47
52
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
48
53
|
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
|
49
54
|
<id>{{ post.id | absolute_url | xml_escape }}</id>
|
data/_layouts/home.html
CHANGED
@@ -16,10 +16,22 @@ layout: default
|
|
16
16
|
<li{% if lang != empty %} lang="{{ lang }}"{% endif %}>
|
17
17
|
<header class="post-header">
|
18
18
|
<h1 class="post-title">
|
19
|
-
|
19
|
+
{% if post.external-url %}
|
20
|
+
<a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} →</a>
|
21
|
+
{% else %}
|
22
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
23
|
+
{% endif %}
|
20
24
|
</h1>
|
21
25
|
|
22
|
-
<p class="post-meta">
|
26
|
+
<p class="post-meta">
|
27
|
+
{{ post.date | date: "%b %-d, %Y" }}
|
28
|
+
{% if post.categories != empty or post.tags != empty %}
|
29
|
+
{% include category_links.html categories=post.categories tags=post.tags %}
|
30
|
+
{% endif %}
|
31
|
+
{% if post.external-url %}
|
32
|
+
• <a href="{{ post.url | relative_url }}">Permalink</a>
|
33
|
+
{% endif %}
|
34
|
+
</p>
|
23
35
|
</header>
|
24
36
|
|
25
37
|
<div class="post-content">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-whiteglass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chayoung You
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.7.
|
149
|
+
rubygems_version: 2.7.6
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Minimal, responsive Jekyll theme for hackers.
|