jekyll-whiteglass 1.7.1 → 1.8.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/LICENSE.txt +1 -1
- data/README.md +18 -0
- data/_includes/head.html +10 -12
- data/_sass/whiteglass/_syntax-highlighting.scss +29 -28
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49d77acaf05036c63c3363f45beefaf7917fc7ada6617b92bad73d0e7d2ab4aa
|
4
|
+
data.tar.gz: 0c7bf5f4391b6fcea8793e5208c670750cb76167a3ae04a6f260c67d28e4df11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b4208b446d609fa7c324eaf7eea39dbb965824fdf8dc4673fef88cc39f3a620ed8b123d3a2cccb56ff4f7b50aca4cf3a0136598eafbe5cad1dbf7fde8f9005a
|
7
|
+
data.tar.gz: 312531cf7ef7d35d7c5c15fe11342034e34356bee7b52123d314086b5f821e1e7ec98000b3f3e24a9a39e1c9c39a21ac2d84ff099d12f8b4c61315d2ec5ce26d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# ChangeLog
|
2
2
|
|
3
|
+
## 1.8.0 (2019-05-07)
|
4
|
+
|
5
|
+
- Loosen version requirements for bundler
|
6
|
+
- Include basic meta tags even without facebook_app_id
|
7
|
+
- Update syntax highlighting CSS to rouge's GitHub style
|
8
|
+
|
3
9
|
## 1.7.1 (2018-09-13)
|
4
10
|
|
5
11
|
- Set proper word-wrap for long lines
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -93,6 +93,24 @@ gem install jekyll-whiteglass
|
|
93
93
|
bundle exec jekyll serve
|
94
94
|
```
|
95
95
|
|
96
|
+
## Deployment to GitHub Pages using Travis CI
|
97
|
+
|
98
|
+
This theme uses [jekyll-archives](https://github.com/jekyll/jekyll-archives) gem
|
99
|
+
which is [not supported by GitHub Pages](https://help.github.com/articles/configuring-jekyll-plugins/).
|
100
|
+
If you want to use full features like categories and tags, I recommend you to
|
101
|
+
use Travis CI or other CI services.
|
102
|
+
|
103
|
+
To deploy using Travis CI, first copy the [`.travis.yml`](.travis.yml) of this
|
104
|
+
repository. You can change `target-branch` (`gh-pages` by default) and
|
105
|
+
`on.branch` (`master` by default) as you want. If you want further
|
106
|
+
customization, see [Travis CI's documentation page](https://docs.travis-ci.com/user/deployment/pages/).
|
107
|
+
|
108
|
+
You'll see there's `github-token: $GITHUB_TOKEN`, and this is what you should
|
109
|
+
configure. Go to your [personal access tokens](https://github.com/settings/tokens)
|
110
|
+
page, and generate new token with `public_repo` or `repo` permission as you
|
111
|
+
need. Then go to Travis CI's settings page of your repository, and add a new
|
112
|
+
environment variable `GITHUB_TOKEN` with the value of the token you generated.
|
113
|
+
|
96
114
|
## Usage
|
97
115
|
|
98
116
|
### Customization
|
data/_includes/head.html
CHANGED
@@ -27,18 +27,16 @@
|
|
27
27
|
|
28
28
|
{% include head_custom.html %}
|
29
29
|
|
30
|
-
{% if site.facebook_app_id %}
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
{
|
38
|
-
|
39
|
-
{
|
40
|
-
<meta property="og:image" content="{{ site.facebook_image }}">
|
41
|
-
{% endif %}
|
30
|
+
{% if site.facebook_app_id %}<meta property="fb:admins" content="{{ site.facebook_app_id }}">{% endif %}
|
31
|
+
<meta property="og:title" content="{{ title }}">
|
32
|
+
<meta property="og:site_name" content="{{ site.title | escape }}">
|
33
|
+
<meta property="og:url" content="{{ canonical }}">
|
34
|
+
<meta property="og:description" content="{{ description }}">
|
35
|
+
{% if site.facebook_page %}<meta property="article:author" content="{{ site.facebook_page }}">{% endif %}
|
36
|
+
{% if page.facebook.image %}
|
37
|
+
<meta property="og:image" content="{{ page.facebook.image }}">
|
38
|
+
{% elsif site.facebook_image %}
|
39
|
+
<meta property="og:image" content="{{ site.facebook_image }}">
|
42
40
|
{% endif %}
|
43
41
|
<meta name="twitter:card" content="{{ page.twitter_card.type | default: "summary" }}">
|
44
42
|
{% if site.twitter_username %}<meta name="twitter:site" content="{{ site.twitter_username }}">{% endif %}
|
@@ -2,56 +2,42 @@
|
|
2
2
|
* Syntax highlighting styles
|
3
3
|
*/
|
4
4
|
.highlight {
|
5
|
-
background-color:
|
5
|
+
background-color: #f8f8f8;
|
6
6
|
@extend %vertical-rhythm;
|
7
7
|
|
8
8
|
.highlighter-rouge & {
|
9
|
-
background-color:
|
9
|
+
background-color: #f8f8f8;
|
10
10
|
}
|
11
11
|
|
12
|
-
.c { color: #998; font-style: italic } // Comment
|
13
|
-
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
-
.k { font-weight: bold } // Keyword
|
15
|
-
.o { font-weight: bold } // Operator
|
16
12
|
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
13
|
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
14
|
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
15
|
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
16
|
+
.c, .cd { color: #998; font-style: italic } // Comment, Comment.Doc
|
17
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
20
18
|
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
-
.
|
22
|
-
.ge { font-style: italic } // Generic.Emph
|
19
|
+
.ge { color: #000; font-style: italic } // Generic.Emph
|
23
20
|
.gr { color: #a00 } // Generic.Error
|
24
21
|
.gh { color: #999 } // Generic.Heading
|
25
22
|
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
-
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
23
|
.go { color: #888 } // Generic.Output
|
28
24
|
.gp { color: #555 } // Generic.Prompt
|
29
25
|
.gs { font-weight: bold } // Generic.Strong
|
30
26
|
.gu { color: #aaa } // Generic.Subheading
|
31
27
|
.gt { color: #a00 } // Generic.Traceback
|
32
|
-
.kc { font-weight: bold } // Keyword.Constant
|
33
|
-
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
-
.
|
35
|
-
.
|
28
|
+
.kc { color: #000; font-weight: bold } // Keyword.Constant
|
29
|
+
.kd { color: #000; font-weight: bold } // Keyword.Declaration
|
30
|
+
.kn { color: #000; font-weight: bold } // Keyword.Namespace
|
31
|
+
.kp { color: #000; font-weight: bold } // Keyword.Pseudo
|
32
|
+
.kr { color: #000; font-weight: bold } // Keyword.Reserved
|
36
33
|
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
-
.
|
38
|
-
.s { color: #d14 } // Literal.String
|
39
|
-
.na { color: #008080 } // Name.Attribute
|
40
|
-
.nb { color: #0086B3 } // Name.Builtin
|
41
|
-
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
-
.no { color: #008080 } // Name.Constant
|
43
|
-
.ni { color: #800080 } // Name.Entity
|
44
|
-
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
-
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
-
.nn { color: #555 } // Name.Namespace
|
47
|
-
.nt { color: #000080 } // Name.Tag
|
48
|
-
.nv { color: #008080 } // Name.Variable
|
49
|
-
.ow { font-weight: bold } // Operator.Word
|
50
|
-
.w { color: #bbb } // Text.Whitespace
|
34
|
+
.k, .kv { color: #000; font-weight: bold } // Keyword, Keyword.Variable
|
51
35
|
.mf { color: #099 } // Literal.Number.Float
|
52
36
|
.mh { color: #099 } // Literal.Number.Hex
|
37
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
53
38
|
.mi { color: #099 } // Literal.Number.Integer
|
54
39
|
.mo { color: #099 } // Literal.Number.Oct
|
40
|
+
.m, .mb, .mx { color: #099 } // Literal.Number, Literal.Number.Bin, Literal.Number.Other
|
55
41
|
.sb { color: #d14 } // Literal.String.Backtick
|
56
42
|
.sc { color: #d14 } // Literal.String.Char
|
57
43
|
.sd { color: #d14 } // Literal.String.Doc
|
@@ -63,9 +49,24 @@
|
|
63
49
|
.sr { color: #009926 } // Literal.String.Regex
|
64
50
|
.s1 { color: #d14 } // Literal.String.Single
|
65
51
|
.ss { color: #990073 } // Literal.String.Symbol
|
52
|
+
.s { color: #d14 } // Literal.String
|
53
|
+
.na { color: #008080 } // Name.Attribute
|
66
54
|
.bp { color: #999 } // Name.Builtin.Pseudo
|
55
|
+
.nb { color: #0086B3 } // Name.Builtin
|
56
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
57
|
+
.no { color: #008080 } // Name.Constant
|
58
|
+
.nd { color: #3c5d5d; font-weight: bold } // Name.Decorator
|
59
|
+
.ni { color: #800080 } // Name.Entity
|
60
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
61
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
62
|
+
.nl { color: #900; font-weight: bold } // Name.Label
|
63
|
+
.nn { color: #555 } // Name.Namespace
|
64
|
+
.nt { color: #000080 } // Name.Tag
|
67
65
|
.vc { color: #008080 } // Name.Variable.Class
|
68
66
|
.vg { color: #008080 } // Name.Variable.Global
|
69
67
|
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
-
.
|
68
|
+
.nv { color: #008080 } // Name.Variable
|
69
|
+
.ow { color: #000; font-weight: bold } // Operator.Word
|
70
|
+
.o { color: #000; font-weight: bold } // Operator
|
71
|
+
.w { color: #bbb } // Text.Whitespace
|
71
72
|
}
|
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.8.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: 2019-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
|
149
|
-
rubygems_version: 2.7.6
|
148
|
+
rubygems_version: 3.0.3
|
150
149
|
signing_key:
|
151
150
|
specification_version: 4
|
152
151
|
summary: Minimal, responsive Jekyll theme for hackers.
|