jekyll-dash 1.1.3 → 1.2.0
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/LICENSE +1 -1
- data/README.md +12 -2
- data/_includes/pagination.html +4 -4
- data/_includes/tagcloud.html +5 -4
- data/_layouts/home.html +2 -2
- data/_layouts/post.html +4 -1
- data/_layouts/tag_page.html +1 -1
- data/_sass/dash/_icons.scss +1 -0
- data/_sass/dash/_layout.scss +14 -1
- metadata +2 -3
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0cbb8f95447cb008b67a92dc42cbeba16770db4fd174ab5ae110a83bdabe592
|
4
|
+
data.tar.gz: a2ab90915fc842164c7a1694deb1b22c76bb3fe5b001f95b6ad3ff72ae8e3a1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84fb4abd58e1640ffd18e36a62c5901d082e855ceb6284205ab68934390c9c58b55561c47fb234f57a90838f59f4a01b35c72e4f71efc802eca686a1c0c977a6
|
7
|
+
data.tar.gz: 7a3dcd1f051f14243b66596816dfffe35f49af55a3f727ad028def5d5cafb32c5d4ce24ca684d7cfe5f1adbfe87abb6b071462fa430dc5fecc20f808afa5afd2
|
data/LICENSE
CHANGED
@@ -186,7 +186,7 @@
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright
|
189
|
+
Copyright 2019 Miguel Gonzalez Sanchez
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
A dark theme for Jekyll, inspired by Dash UI for Atom. 🌒
|
5
5
|
|
6
6
|
[](https://travis-ci.org/bitbrain/jekyll-dash)
|
7
|
-
[](LICENSE.MD)
|
8
8
|
---
|
9
9
|
This theme for [Jekyll](https://jekyllrb.com/) has been inspired by [dash-ui](https://atom.io/themes/dash-ui), a dark theme for [Atom](https://atom.io).
|
10
10
|
|
@@ -68,6 +68,16 @@ dash:
|
|
68
68
|
icon: github-square
|
69
69
|
color: purple
|
70
70
|
```
|
71
|
+
## Using this theme directly on Github Pages
|
72
|
+
|
73
|
+
Please keep in mind that Github Pages does only support [a limited list of Jekyll plugins](https://help.github.com/en/articles/configuring-jekyll-plugins#default-plugins). You will be able to use this theme on Github Pages but some functionality might not be available, for example displaying tags. In order to use this theme to a full extend, you have to generate the `_site` externally, for example on [TravisCI](https://travis-ci.org).
|
74
|
+
|
75
|
+
For example, you want to host your own blog on `https://<username>.github.io`. As a result, you require the following repositories:
|
76
|
+
|
77
|
+
* `blog` - contains the actual Jekyll sources ([see example](https://github.com/bitbrain/blog))
|
78
|
+
* `<username>.github.io` - contains generated webpage, pushed automatically via TravisCI ([see example](https://github.com/bitbrain/bitbrain.github.io))
|
79
|
+
|
80
|
+
You are not required to do this, but keep in mind that some functionality might not be available when using the Jekyll generator on Github directly!
|
71
81
|
|
72
82
|
## Additional Features
|
73
83
|
|
@@ -96,4 +106,4 @@ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-d
|
|
96
106
|
|
97
107
|
## License
|
98
108
|
|
99
|
-
The theme is available as open source under the terms of the [
|
109
|
+
The theme is available as open source under the terms of the [Apache License 2.0](https://opensource.org/licenses/Apache-2.0).
|
data/_includes/pagination.html
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
{% if paginator.total_pages > 1 %}
|
3
3
|
<div class="pagination">
|
4
4
|
{% if paginator.previous_page %}
|
5
|
-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"><
|
5
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fas fa-chevron-left"></i></a>
|
6
6
|
{% else %}
|
7
|
-
<span><
|
7
|
+
<span><i class="fas fa-chevron-left"></i></span>
|
8
8
|
{% endif %}
|
9
9
|
|
10
10
|
{% for page in (1..paginator.total_pages) %}
|
@@ -18,9 +18,9 @@
|
|
18
18
|
{% endfor %}
|
19
19
|
|
20
20
|
{% if paginator.next_page %}
|
21
|
-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"
|
21
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fas fa-chevron-right"></i></a>
|
22
22
|
{% else %}
|
23
|
-
<span
|
23
|
+
<span><i class="fas fa-chevron-right"></i></span>
|
24
24
|
{% endif %}
|
25
25
|
</div>
|
26
26
|
{% endif %}
|
data/_includes/tagcloud.html
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
|
2
2
|
{% if site.plugins contains "jekyll/tagging" %}
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
</div>
|
3
|
+
{% assign size = site | tag_cloud | size %}
|
4
|
+
{% if size != 0 %}
|
5
|
+
<h2>all tags</h2>
|
6
|
+
<div class="tag-cloud">{{ site | tag_cloud }}</div>
|
7
|
+
{% endif %}
|
7
8
|
{% endif %}
|
data/_layouts/home.html
CHANGED
@@ -4,7 +4,7 @@ layout: default
|
|
4
4
|
{% include author.html %}
|
5
5
|
{% assign posts_count = paginator.posts | size %}
|
6
6
|
{% if posts_count > 0 %}
|
7
|
-
<h1>
|
7
|
+
<h1>recent articles</h1>
|
8
8
|
<div class="post-links">
|
9
9
|
{% for post in paginator.posts %}
|
10
10
|
<div class="post-link-wrapper">
|
@@ -32,5 +32,5 @@ layout: default
|
|
32
32
|
|
33
33
|
{% include tagcloud.html %}
|
34
34
|
{% else %}
|
35
|
-
<
|
35
|
+
<h2>no posts yet.</h2>
|
36
36
|
{% endif %}
|
data/_layouts/post.html
CHANGED
@@ -24,8 +24,10 @@ layout: default
|
|
24
24
|
</div>
|
25
25
|
{% endif %}
|
26
26
|
|
27
|
+
{% assign size = site.related_posts | size %}
|
28
|
+
{% if size != 0 %}
|
27
29
|
<div class="related">
|
28
|
-
<h2>
|
30
|
+
<h2>related posts</h2>
|
29
31
|
<ul class="related-posts">
|
30
32
|
{% for post in site.related_posts limit:3 %}
|
31
33
|
<li>
|
@@ -38,4 +40,5 @@ layout: default
|
|
38
40
|
{% endfor %}
|
39
41
|
</ul>
|
40
42
|
</div>
|
43
|
+
{% endif %}
|
41
44
|
{% include tagcloud.html %}
|
data/_layouts/tag_page.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
{% include author.html %}
|
5
|
-
<h1 class="post-title">
|
5
|
+
<h1 class="post-title">articles tagged with <a class="tag" href="/tag/{{ page.tag }}/">{{ page.tag }}</a></h1>
|
6
6
|
<div class="post-links">
|
7
7
|
{% for post in site.posts %}
|
8
8
|
{% for tag in post.tags %}
|
data/_sass/dash/_icons.scss
CHANGED
data/_sass/dash/_layout.scss
CHANGED
@@ -231,6 +231,15 @@
|
|
231
231
|
color: lighten($color-green, 20%);
|
232
232
|
background-color: lighten($color-background-dark, 5%);
|
233
233
|
}
|
234
|
+
|
235
|
+
& > svg {
|
236
|
+
margin-right: 0.4em;
|
237
|
+
}
|
238
|
+
|
239
|
+
&:before {
|
240
|
+
content: $icon-tag;
|
241
|
+
@include font-awesome-icon;
|
242
|
+
}
|
234
243
|
}
|
235
244
|
|
236
245
|
.post-tags {
|
@@ -250,7 +259,7 @@
|
|
250
259
|
|
251
260
|
.pagination {
|
252
261
|
font-size: $post-link-font-size;
|
253
|
-
margin:
|
262
|
+
margin: 1em 0;
|
254
263
|
& > a, & > span {
|
255
264
|
font-weight: normal;
|
256
265
|
display: inline-block;
|
@@ -263,6 +272,10 @@
|
|
263
272
|
&:hover {
|
264
273
|
text-decoration: none;
|
265
274
|
}
|
275
|
+
|
276
|
+
svg {
|
277
|
+
padding-left: 0.1em;
|
278
|
+
}
|
266
279
|
}
|
267
280
|
|
268
281
|
& > a {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-dash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Gonzalez Sanchez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -102,7 +102,6 @@ extensions: []
|
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
104
|
- LICENSE
|
105
|
-
- LICENSE.txt
|
106
105
|
- README.md
|
107
106
|
- _includes/author.html
|
108
107
|
- _includes/disqus.html
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2019 Miguel Gonzalez Sanchez
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|