jekyll-dash 2.3.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/_layouts/home.html +1 -1
- data/_layouts/post.html +7 -2
- data/_layouts/tag_page.html +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df30ced951827345fbf9c992969c939e8e4897744c7fdee6569b88bfca75528f
|
4
|
+
data.tar.gz: 58ce54ec19d8fe9a97bc1ecc908a2b6938def4fe109bedcc46ba24f7cc1bcac6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d1c5a81a298b32d6e38c9f9c4784d98df50ad19ab80127ba4befd517f75c7f065282c0c3eb7de611720b00a5ac902f13afd058bda0bd3ec5cddcd395d725e9d
|
7
|
+
data.tar.gz: b227f7ee77e2b826535969c13c67bef741e5af3f68765c8415d0f4e960087631bcbae26049d9301c6dad31cfd152f9f590935484d9938de05497f3720660c3e2
|
data/README.md
CHANGED
@@ -31,7 +31,7 @@ For **Jekyll 3**:
|
|
31
31
|
gem 'jekyll-dash', '~> 1'
|
32
32
|
```
|
33
33
|
|
34
|
-
> Keep in mind: Github pages generation only supports Jekyll 3.
|
34
|
+
> Keep in mind: Github pages generation [only supports Jekyll 3.9.x right now](https://pages.github.com/versions/).
|
35
35
|
|
36
36
|
For **Jekyll 4**:
|
37
37
|
```ruby
|
@@ -69,6 +69,9 @@ tag_permalink_style: pretty
|
|
69
69
|
tag_page_layout: tag_page
|
70
70
|
tag_page_dir: tag
|
71
71
|
|
72
|
+
# for github pages custom domains:
|
73
|
+
# include: [CNAME]
|
74
|
+
|
72
75
|
dash:
|
73
76
|
# the way how dates should be displayed
|
74
77
|
date_format: "%b %-d, %Y"
|
@@ -115,6 +118,12 @@ I have created [a guide on how to set this up here](https://bitbra.in/2021/10/03
|
|
115
118
|
|
116
119
|
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!
|
117
120
|
|
121
|
+
If you are using a custom domain add in your main branch a file named CNAME with your domain there and uncomment this line in your config file:
|
122
|
+
```
|
123
|
+
include: [CNAME]
|
124
|
+
```
|
125
|
+
For more information about how to configure your CNAME file, read the [official documentation](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site).
|
126
|
+
|
118
127
|
## Additional Features
|
119
128
|
|
120
129
|
**Tagging** add the `jekyll/tagging` plugin to your `_config.yml` file to enable tagging. Do not forget to also add the following to your `Gemfile`:
|
@@ -141,7 +150,7 @@ gem "liquid-md5"
|
|
141
150
|
|
142
151
|
> I am using this theme but I don't see any tags?
|
143
152
|
|
144
|
-
**Solution**: as described above you have to add the tagging plugin. Additionally, tags do not work natively by Github Pages. You have to build your site on an external CI and push the `_site` artifacts to a hosting repository.
|
153
|
+
**Solution**: as described above you have to add the tagging plugin. Additionally, tags do not work natively by Github Pages. [You have to build your site on an external CI](https://bitbra.in/2021/10/03/host-your-own-blog-for-free-with-custom-domain.html) and push the `_site` artifacts to a hosting repository.
|
145
154
|
|
146
155
|
> I am getting an error that Bundler could not find compatible versions for gem
|
147
156
|
|
data/_layouts/home.html
CHANGED
@@ -17,7 +17,7 @@ layout: default
|
|
17
17
|
{% if site.plugins contains "jekyll/tagging" %}
|
18
18
|
<div class="post-tags">
|
19
19
|
{% for tag in post.tags %}
|
20
|
-
<a class="tag" href="
|
20
|
+
<a class="tag" href="{{ tag | tag_url }}">{{ tag }}</a>
|
21
21
|
{% endfor %}
|
22
22
|
</div>
|
23
23
|
{% endif %}
|
data/_layouts/post.html
CHANGED
@@ -9,11 +9,16 @@ layout: default
|
|
9
9
|
{% if site.plugins contains "jekyll/tagging" %}
|
10
10
|
<div class="post-tags">
|
11
11
|
{% for tag in page.tags %}
|
12
|
-
<a class="tag" href="
|
12
|
+
<a class="tag" href="{{ tag | tag_url }}">{{ tag }}</a>
|
13
13
|
{% endfor %}
|
14
14
|
</div>
|
15
15
|
{% endif %}
|
16
|
-
<div class="post-date">
|
16
|
+
<div class="post-date">
|
17
|
+
Published on {{ page.date | date_to_string }}
|
18
|
+
{% if page.author != null %}
|
19
|
+
by {{ page.author }}
|
20
|
+
{% endif %}
|
21
|
+
</div>
|
17
22
|
{% if page.description != null %}
|
18
23
|
<noscript>
|
19
24
|
<div class="post-description">{{ page.description }}</div>
|
data/_layouts/tag_page.html
CHANGED
@@ -4,7 +4,7 @@ layout: default
|
|
4
4
|
{% unless site.dash.show_author == false %}
|
5
5
|
{% include author.html %}
|
6
6
|
{% endunless %}
|
7
|
-
<h1 class="post-title">articles tagged with <a class="tag" href="
|
7
|
+
<h1 class="post-title">articles tagged with <a class="tag" href="{{ page.tag | tag_url }}">{{ page.tag }}</a></h1>
|
8
8
|
<div class="post-links">
|
9
9
|
{% for post in site.posts %}
|
10
10
|
{% for tag in post.tags %}
|
@@ -17,7 +17,7 @@ layout: default
|
|
17
17
|
|
18
18
|
<div class="post-tags">
|
19
19
|
{% for tag in post.tags %}
|
20
|
-
<a class="tag" href="
|
20
|
+
<a class="tag" href="{{ tag | tag_url }}">{{ tag }}</a>
|
21
21
|
{% endfor %}
|
22
22
|
</div>
|
23
23
|
{% if site.dash.date_format %}
|
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: 2.
|
4
|
+
version: 2.4.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:
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|