jekyll-dash 2.3.0 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52dbc721d2c81abd048030551853ac06eead4bfdae0e3c12e3bc36690dc5a483
4
- data.tar.gz: c589475b5cdd507f2ea776256adcec6ce5fd23cae7a0f5a65a0653fcfa1fb570
3
+ metadata.gz: 86176fed5582883183f08987c21b4e59cda96587cb1b219d6049faefe783d56b
4
+ data.tar.gz: 4e181fcc1be1fce2ef31f36d778c7d160c9e09901fae6ccf4d59effdb44117cc
5
5
  SHA512:
6
- metadata.gz: f5718b2a53ec9758f9213a17d91be3aa8c408744c605761ce7b5b4979469815deebfcda6fd1b318e6dfcbb7eb7f2c8096f3c47bf1844ad7521627397023ab64e
7
- data.tar.gz: 37ac09da251bfc186ce48c9181efe598408247d9ad04aafa8402c3be4018dec7fc15e3bb27f0f85c403ec3c933680e368e4dc8712f6933302b6d79f0d08df27e
6
+ metadata.gz: 6122cc2193e2a6582c891e29777e30b5bbd89c41adc8db089f9707d8c6d43d98cdbcdc3a6799306d609fa2352f072836fbad0704ca3aec5ea36f459c3a417382
7
+ data.tar.gz: 9fb1e8ddab0751f8d3585e58e758ca96d36fa0f54e0d973d24f2dda0f8e1e73aa8e8a1cf1266202a4cca24d5ca2cc5c247029c67ecf6ebeb53cd2d6189482854
data/README.md CHANGED
@@ -4,15 +4,24 @@
4
4
  A dark and light theme for Jekyll, inspired by Dash UI for Atom. 🌒☀
5
5
 
6
6
  ![Build Tag](https://github.com/bitbrain/jekyll-dash/actions/workflows/build-tag.yml/badge.svg)
7
- ![Build Status](https://github.com/bitbrain/jekyll-dash/actions/workflows/release-gem.yml/badge.svg)
8
7
  [![license](https://img.shields.io/github/license/bitbrain/jekyll-dash.svg?style=flat-square)](LICENSE.MD)
9
- [![Gem](https://img.shields.io/gem/v/jekyll-dash.svg?style=flat)](http://rubygems.org/gems/jekyll-dash "View this project in Rubygems")
8
+ [![Gem](https://badgen.net/rubygems/v/jekyll-dash)](https://badgen.net/rubygems/v/jekyll-dash "View this project in Rubygems")
10
9
  [![Downloads](https://ruby-gem-downloads-badge.herokuapp.com/jekyll-dash)](https://rubygems.org/gems/jekyll-dash "Number of Gem downloads")
11
10
  ---
12
11
  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).
13
12
 
14
13
  [![design](theme.gif)](http://bitbrain.github.io)
15
14
 
15
+ ## Features
16
+
17
+ #### :first_quarter_moon: Dark/Light Mode
18
+ #### :arrow_left: Right-to-Left (RTL) Support
19
+ #### :bookmark: Tags
20
+ #### :orange_book: Pagination
21
+ #### :computer: Syntax Highlighting
22
+ #### :wave: Customisable Avatar Box
23
+ #### :two_hearts: Social Links
24
+
16
25
  ## Installation
17
26
 
18
27
  Add this line to your Jekyll site's `Gemfile`:
@@ -60,6 +69,9 @@ tag_permalink_style: pretty
60
69
  tag_page_layout: tag_page
61
70
  tag_page_dir: tag
62
71
 
72
+ # for github pages custom domains:
73
+ # include: [CNAME]
74
+
63
75
  dash:
64
76
  # the way how dates should be displayed
65
77
  date_format: "%b %-d, %Y"
@@ -106,6 +118,12 @@ I have created [a guide on how to set this up here](https://bitbra.in/2021/10/03
106
118
 
107
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!
108
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
+
109
127
  ## Additional Features
110
128
 
111
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`:
@@ -140,6 +158,15 @@ gem "liquid-md5"
140
158
 
141
159
  Make sure you are using a version of this theme that is compatible with Jekyll. Version 1.x is only compatible with Jekyll 3.x while Version 2.x is only compatible with Jekyll 4.x.
142
160
 
161
+ > I am getting an error 'cannot load such file --webrick' when trying to run `bundle exec jekyll serve`
162
+
163
+ **Solution**
164
+
165
+ As [explained here](https://github.com/jekyll/jekyll/issues/8523#issuecomment-751409319) this seems to be a bug with some recent Jekyll 4 version. To solve this simply run:
166
+ ```bash
167
+ bundle add webrick
168
+ ```
169
+
143
170
  ## Contributing
144
171
 
145
172
  Bug reports and pull requests are welcome on GitHub at https://github.com/bitbrain/jekyll-dash. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -153,6 +180,8 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
153
180
  When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
154
181
  To add a custom directory to your theme-gem, please edit the regexp in `jekyll-dash.gemspec` accordingly.
155
182
 
183
+ > If you want to learn how Jekyll Dash gets deployed via Github Actions, feel free [to read this article](https://bitbra.in/2021/10/05/workflow-of-releasing-gem-based-jekyll-theme.html) written by me.
184
+
156
185
  ## License
157
186
 
158
187
  The theme is available as open source under the terms of the [Apache License 2.0](https://opensource.org/licenses/Apache-2.0).
@@ -1,6 +1,6 @@
1
1
  {% if site.dash.avatar_source == "github" and site.dash.github_username %}
2
2
  {% capture avatar_image %}
3
- https://github.com/{{ site.github_username }}.png
3
+ https://github.com/{{ site.dash.github_username }}.png
4
4
  {% endcapture %}
5
5
  {% elsif site.dash.avatar_source == "local" and site.dash.avatar_path %}
6
6
  {% capture avatar_image %}
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="/tag/{{ tag }}/">{{ tag }}</a>
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,7 +9,7 @@ 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="/tag/{{ tag }}/">{{ tag }}</a>
12
+ <a class="tag" href="{{ tag | tag_url }}">{{ tag }}</a>
13
13
  {% endfor %}
14
14
  </div>
15
15
  {% endif %}
@@ -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="/tag/{{ page.tag }}/">{{ page.tag }}</a></h1>
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="/tag/{{ tag }}/">{{ tag }}</a>
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.3.0
4
+ version: 2.3.3
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: 2021-10-06 00:00:00.000000000 Z
11
+ date: 2022-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll