blue-jekyll-theme 0.3.2 → 0.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1aa0f6683140f40bd8856e22253740bfaba682a34dca87cc22694588dd834245
4
- data.tar.gz: 721f322da722e5e423305ccdb66c8f3db970ed359832e4bba09f329e8a58f274
3
+ metadata.gz: 986e623cf9724122a6ece98f45aab7e4a03484ad404ac732838686c96027e459
4
+ data.tar.gz: 9a65ec1ed8889174dde891f1e2b31412f3629c797182917fd86b56f2c36f385a
5
5
  SHA512:
6
- metadata.gz: 2cfef553734a5941f1f259754386ca7a3887ab2f632e74e91e357e03354c9712bfb01e27e15cfd0ffe9f75eaf44346c8d2c2facb0600ae8c6843d101732e4467
7
- data.tar.gz: dac6ef892695e80f9c8e5a705fd6cc99703a08ff5a3378732de8def2133a061f8540fade4821e23039d47334e30c1ebe487a5902f662048d5a1402caf5a0c4bd
6
+ metadata.gz: cf6280d04f15f7f87c3bdf590e89275e79cf410cc6aee28d1a8edaee937ebb17d1e12296bbf1abb719cef4db5171a89bcb31428bbdfc66498a6a9b69e535dbea
7
+ data.tar.gz: 753f766a2e8d60f3b5da70c59269c472c803d1bc019d33b53d36796109bbfb3f836ffa76f288c839def632992e896e102ac900bd0d3e0ccce65bd2f223f1bbc2
data/README.md CHANGED
@@ -2,11 +2,23 @@
2
2
 
3
3
  Minimalist Jekyll theme based on Bulma.
4
4
 
5
- This work is on active development, but currently suitable for use on production.
5
+ This work is on active development, but currently suitable for use on production and GitHub pages.
6
6
 
7
7
  [DEMO](https://jsalvador.me/blue)
8
8
 
9
- ## How to install
9
+ ## What does comes with Blue?
10
+
11
+ Blue comes with the following features:
12
+
13
+ * Bulma CSS library.
14
+ * Kramdown as Markdown engine.
15
+ * MathJax for LaTeX-math support.
16
+ * Syntax highlight built-in.
17
+ * Pagination (via `jekyll-paginate` rubygem).
18
+ * Search engine optimization (via `jekyll-seo-tag` rubygem).
19
+ * RSS support by default (via `jekyll-feed` rubygem).
20
+
21
+ ## Installation (GitHub Pages)
10
22
 
11
23
  1. Fork this repository.
12
24
  2. Rename your fork as `your-username*.github.io`
@@ -15,21 +27,62 @@ This work is on active development, but currently suitable for use on production
15
27
  5. Enjoy and submit me any issue or improvement!
16
28
 
17
29
 
30
+ ## Installation (using RubyGems)
31
+
32
+ 1. Add `blue-jekyll-theme` to your `Gemfile`.
33
+ 2. Update your gems.
34
+ ```
35
+ $ bundle update
36
+ ```
37
+ 3. Update your `_config.yml` file, replace your current theme by `blue-jekyll-theme` and add the needed plugins:
38
+
39
+ * `jekyll-paginate`
40
+ * `jekyll-seo-tag`
41
+
18
42
  ## Config variables
19
43
 
44
+ Add or remove variables from the sample config file.
45
+
46
+ Available colors are the same for Bulma (default ones). You can choose between `primary` (light turquoise), `info` (blue), `warning` (yellow), `danger`(red), `dark` (black) and `light` (default). It will switch the header color.
47
+
20
48
  ```
21
- title: My Awesome Blog
22
- subtitle: My Awesome Blog Subtitle
23
- url: "https://foobar.dev"
24
- color: primary
49
+ # Permalinks
50
+ permalink: pretty
51
+
52
+ # Setup
53
+ title: My Site
54
+ subtitle: My fancy site.
55
+ baseurl:
56
+ url: "https://example.dev"
57
+
58
+ color: danger
25
59
 
26
60
  author:
27
- name: Juanjo Salvador
28
- url: http://jsalvador.me
29
- email: juanjosalvador@netc.eu
30
- ```
61
+ name: Jhon Doe
62
+ url: http://example.dev
63
+ email: # Place your email here
64
+ github: JohnDoe # Place your GitHub username here
65
+ twitter: JohnDoe # Place your twitter username here
66
+ mastodon: https://instance.dev/@johndoe # Place your profile URL here
67
+
68
+ # Assets
69
+ sass:
70
+ style: compressed
31
71
 
32
- Available colors are the same for Bulma (default ones). You can choose between `primary` (light turquoise), `info` (blue), `warning` (yellow), `danger`(red) and `dark` (black). It will switch the header color.
72
+ markdown: kramdown
73
+ highlighter: rouge
74
+ kramdown:
75
+ input: GFM
76
+
77
+ # Custom vars
78
+ version: 3.8.5
79
+ paginate: 5 # Default pagination is 5 post per page
80
+ paginate_path: "/page:num/" # Default route for pages
81
+
82
+ plugins:
83
+ - jekyll-paginate
84
+ - jekyll-seo-tag
85
+ ```
33
86
 
34
87
  ## Licencse
35
88
 
@@ -1,12 +1,17 @@
1
1
  <footer class="footer">
2
2
  <div class="content has-text-centered">
3
3
  <p>
4
- Theme <a href="https://github.com/JuanjoSalvador/blue">Blue</a>. Made with <span style="color: #e25555;">❤️</span> by Juanjo Salvador
4
+ Made with <span style="color: #e25555;">❤️</span> by Juanjo Salvador
5
+ </p>
6
+ <p>
7
+ Theme <a href="https://github.com/JuanjoSalvador/blue">Blue</a> by <a href="https://jsalvador.me/">Juanjo Salvador</a>.
5
8
  </p>
6
9
  </div>
7
10
  <div class="columns">
8
11
  <div class="column"></div>
9
12
  <div class="column is-centered">
13
+ <a href="{{ site.baseurl }}/feed.xml" class="social-link"><i class="fas fa-rss fa-2x"></i></a>
14
+
10
15
  {% if site.author.github %}
11
16
  <a href="https://github.com/{{ site.author.github }}" class="social-link"><i class="fab fa-github-alt fa-2x"></i></a>
12
17
  {% endif %}
data/_includes/head.html CHANGED
@@ -1,21 +1,19 @@
1
1
  <head>
2
2
  <meta charset="UTF-8">
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
- <meta name="description" content="Juanjo Salvador's personal webpage">
4
+ <meta name="description" content="{{ site. description }}">
5
5
 
6
- <title>
7
- {% if page.title == "Home" %}
8
- {{ site.title }}
9
- {% else %}
10
- {{ page.title }} &middot; {{ site.title }}
11
- {% endif %}
12
- </title>
6
+ {% seo %}
13
7
 
14
8
  <!-- CSS -->
15
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css">
9
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
16
10
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/styles.css">
17
11
 
18
- <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
12
+ <!-- FontAwesome -->
13
+ <script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
14
+
15
+ <!-- MathJax support -->
16
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
17
+ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
19
18
 
20
- {% seo %}
21
19
  </head>
@@ -7,11 +7,11 @@
7
7
  <section class="hero is-{{ site.color }}">
8
8
  <div class="hero-body">
9
9
  <div class="container main">
10
- <div class="columns is-mobile">
10
+ <div class="columns">
11
11
  <div class="column"></div>
12
12
  <div class="column is-two-thirds">
13
- <h1 class="title is-1"><a href="/">{{ site.title }}</a></h1>
14
- <h2 class="subtitle is-3">{{ site.subtitle }}</h2>
13
+ <h1 class="title is-1"><a href="{{ site.baseurl }}">{{ site.title }}</a></h1>
14
+ <h2 class="subtitle is-3">{{ site.description }}</h2>
15
15
  </div>
16
16
  <div class="column"></div>
17
17
  </div>
@@ -21,7 +21,7 @@
21
21
 
22
22
  <section class="section">
23
23
  <div class="container">
24
- <div class="columns is-mobile">
24
+ <div class="columns">
25
25
  <div class="column"></div>
26
26
  <div class="column is-two-thirds">
27
27
  {{ content }}
data/_layouts/home.html CHANGED
@@ -11,7 +11,7 @@ layout: default
11
11
  <time datetime="{{ post.date }}" class="frontpage-time has-text-grey-light">{{ post.date | date: "%B %d, %Y" }}</time>
12
12
 
13
13
  <p class="show-if-mobile">
14
- {{ post.content | truncatewords: 60 | strip_html }}
14
+ {{ post.content | truncatewords: 18 | strip_html }}
15
15
  </p>
16
16
 
17
17
  <p class="frontpage-item-readmore">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blue-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juanjo Salvador
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-15 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-seo-tag
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-feed
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.17.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.17.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -89,10 +103,11 @@ files:
89
103
  - _sass/post.sass
90
104
  - _sass/rouge.scss
91
105
  - assets/styles.sass
92
- homepage: https://jsalvador.me/blog/
106
+ homepage: https://github.com/JuanjoSalvador/blue
93
107
  licenses:
94
108
  - MIT
95
- metadata: {}
109
+ metadata:
110
+ github_repo: ssh://github.com/JuanjoSalvador/blue
96
111
  post_install_message:
97
112
  rdoc_options: []
98
113
  require_paths:
@@ -108,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
123
  - !ruby/object:Gem::Version
109
124
  version: '0'
110
125
  requirements: []
111
- rubygems_version: 3.2.27
126
+ rubygems_version: 3.4.10
112
127
  signing_key:
113
128
  specification_version: 4
114
129
  summary: Minimalist Jekyll theme based on Bulma