jekyll-whiteglass 1.1.0 → 1.2.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 +4 -0
- data/README.md +23 -6
- data/_includes/head.html +1 -1
- 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: 7af47d9b9c42df0c005fa9c2cda893e7f160aae8
|
4
|
+
data.tar.gz: e7cd10d445e86585778258fb286b546ad5bc7abf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6699f4a1f165bc8680ecbb06370b3fc089a111d3da55185d5b3ae78d0683af0d8579cb023094db5bbd2cd99868472655004b0d2455b49c4cd59a0f67d0ca6903
|
7
|
+
data.tar.gz: b429c09bd930a574286c15356eb8a5dccd849cbb39a3494f3b257a95a8acf7cc18d5b5ed898d2ec803f876e3c158d76ad89a5e8b6f56e5511f9490aa48619853
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -49,12 +49,12 @@ contents to footer, create an `_includes` directory, copy
|
|
49
49
|
For example, you can add favicons to `_includes/head_custom.html`:
|
50
50
|
|
51
51
|
``` html
|
52
|
-
<link href="{{ "/favicon.
|
53
|
-
<link href="{{ "/apple-touch-icon.png" | relative_url }}"
|
54
|
-
<link href="{{ "/apple-touch-icon-76x76.png" | relative_url }}"
|
55
|
-
<link href="{{ "/apple-touch-icon-120x120.png" | relative_url }}"
|
56
|
-
<link href="{{ "/apple-touch-icon-152x152.png" | relative_url }}"
|
57
|
-
<link href="{{ "/apple-touch-icon-180x180.png" | relative_url }}"
|
52
|
+
<link rel="icon" type="image/x-icon" href="{{ "/favicon.ico" | relative_url }}">
|
53
|
+
<link rel="apple-touch-icon" href="{{ "/apple-touch-icon.png" | relative_url }}">
|
54
|
+
<link rel="apple-touch-icon" sizes="76x76" href="{{ "/apple-touch-icon-76x76.png" | relative_url }}">
|
55
|
+
<link rel="apple-touch-icon" sizes="120x120" href="{{ "/apple-touch-icon-120x120.png" | relative_url }}">
|
56
|
+
<link rel="apple-touch-icon" sizes="152x152" href="{{ "/apple-touch-icon-152x152.png" | relative_url }}">
|
57
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/apple-touch-icon-180x180.png" | relative_url }}">
|
58
58
|
```
|
59
59
|
|
60
60
|
The site's default CSS is in the gem itself,
|
@@ -102,6 +102,23 @@ title: Awesome Post
|
|
102
102
|
description: This is an awesome post.
|
103
103
|
```
|
104
104
|
|
105
|
+
If you don't specify `post.description`, then `post.excerpt` will be used if it
|
106
|
+
exist.
|
107
|
+
|
108
|
+
### External URL
|
109
|
+
|
110
|
+
`external-url` turns the title of your post to a link. Specify a URL which you
|
111
|
+
want to link to.
|
112
|
+
|
113
|
+
``` yaml
|
114
|
+
layout: post
|
115
|
+
title: Jekyll whiteglass theme
|
116
|
+
external-url: https://github.com/yous/whiteglass
|
117
|
+
```
|
118
|
+
|
119
|
+
Then the title of your post would look like a link with text
|
120
|
+
`Jekyll whiteglass theme →`. This also applies to your blog feed.
|
121
|
+
|
105
122
|
### Category
|
106
123
|
|
107
124
|
Each post can have `categories` attribute. It can be a string or an array. This
|
data/_includes/head.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
{% assign title = page.title | default: site.title | escape %}
|
7
7
|
{% assign canonical = page.url | replace:'index.html','' | absolute_url %}
|
8
|
-
{% assign description = page.description | default: site.description | normalize_whitespace | escape %}
|
8
|
+
{% assign description = page.description | default: page.excerpt | default: site.description | strip_html | normalize_whitespace | escape %}
|
9
9
|
<title>{{ title }}</title>
|
10
10
|
<meta name="description" content="{{ description }}">
|
11
11
|
{% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %}
|
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.2.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: 2017-01-
|
11
|
+
date: 2017-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|