jekyll-dash 1.3.4 → 2.0.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/README.md +14 -2
- data/_includes/author.html +12 -3
- data/_layouts/home.html +5 -0
- data/_sass/dash/_mixins.scss +2 -0
- data/assets/css/style.scss +6 -0
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f29e755db2527c979641ecb23c33b2f262c0f211584ec242afc77484d1c654f7
|
4
|
+
data.tar.gz: 805c3a368c4a96784046d9f787cf066b2d156eacdcf4e58609c7ae927e3bad2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d1bf17a0e6c40756660b888e7ba6c7f6262afd9999a9e2d29fbe7a054b3e77a2e4de7f442dbdf98a273a4e5aee28cc8c08a4f658897203fe11320aacbc93c27
|
7
|
+
data.tar.gz: e14db70d0eb5c5c3ecf4b0d9cb0bfb28ac73ecd3210fd3a86778656f23fcee48ab21eb7e9867c52dd29343ec232bc90915ca37f2c2e60282c6238a1cb13f7a12
|
data/README.md
CHANGED
@@ -14,8 +14,16 @@ This theme for [Jekyll](https://jekyllrb.com/) has been inspired by [dash-ui](ht
|
|
14
14
|
|
15
15
|
Add this line to your Jekyll site's `Gemfile`:
|
16
16
|
|
17
|
+
For **Jekyll 3**:
|
17
18
|
```ruby
|
18
|
-
gem
|
19
|
+
gem 'jekyll-dash', '~> 1.0.0'
|
20
|
+
```
|
21
|
+
|
22
|
+
> Keep in mind: Github pages generation only supports Jekyll 3.8 right now.
|
23
|
+
|
24
|
+
For **Jekyll 4**:
|
25
|
+
```ruby
|
26
|
+
gem 'jekyll-dash', '~> 2.0.0'
|
19
27
|
```
|
20
28
|
|
21
29
|
And add this line to your Jekyll site's `_config.yml`:
|
@@ -30,7 +38,7 @@ And then execute:
|
|
30
38
|
|
31
39
|
Or install it yourself as:
|
32
40
|
|
33
|
-
$ gem install jekyll-dash
|
41
|
+
$ gem install jekyll-dash -v version
|
34
42
|
|
35
43
|
## Configuration
|
36
44
|
|
@@ -69,6 +77,10 @@ dash:
|
|
69
77
|
color: purple
|
70
78
|
|
71
79
|
show_author: true
|
80
|
+
|
81
|
+
# Replaces the default avatar provider (gravatar)
|
82
|
+
#avatar_source: github
|
83
|
+
#github_username: bitbrain
|
72
84
|
```
|
73
85
|
## Using this theme directly on Github Pages
|
74
86
|
|
data/_includes/author.html
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
<div class="author-box">
|
2
|
-
{% if site.
|
3
|
-
|
4
|
-
{
|
2
|
+
{% if site.avatar_source == "github" and site.github_username %}
|
3
|
+
{% capture avatar_image %}
|
4
|
+
https://github.com/{{ site.github_username }}.png
|
5
|
+
{% endcapture %}
|
6
|
+
{% elsif site.plugins contains "liquid-md5" %}
|
7
|
+
{% capture avatar_image %}
|
8
|
+
https://gravatar.com/avatar/{{ site.email | downcase | md5 }}?s=256
|
9
|
+
{% endcapture %}
|
10
|
+
{% endif %}
|
11
|
+
{% if avatar_image %}
|
12
|
+
<img src="{{ avatar_image }}" class="author-avatar" alt="Avatar" />
|
13
|
+
{% endif %}
|
5
14
|
{{ site.description }}
|
6
15
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -25,6 +25,11 @@ layout: default
|
|
25
25
|
{% else %}
|
26
26
|
{{ post.date | date: "%b %-d, %Y" }}
|
27
27
|
{% endif %}
|
28
|
+
{% if site.show_excerpts == true %}
|
29
|
+
<div class="post-excerpt">
|
30
|
+
{{ post.content | strip_html | truncatewords: 50 }}
|
31
|
+
</div>
|
32
|
+
{% endif %}
|
28
33
|
</div>
|
29
34
|
</div>
|
30
35
|
{% endfor %}
|
data/_sass/dash/_mixins.scss
CHANGED
data/assets/css/style.scss
CHANGED
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:
|
4
|
+
version: 2.0.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: 2020-
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-feed
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jekyll-seo-tag
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.0
|
75
|
+
version: 2.1.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: 2.0
|
82
|
+
version: 2.1.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '13.0'
|
97
97
|
description:
|
98
98
|
email:
|
99
99
|
- miguel-gonzalez@gmx.de
|