blue-jekyll-theme 0.3.2 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +64 -11
- data/_includes/footer.html +6 -1
- data/_includes/head.html +9 -11
- data/_layouts/default.html +4 -4
- data/_layouts/home.html +1 -1
- metadata +20 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 986e623cf9724122a6ece98f45aab7e4a03484ad404ac732838686c96027e459
|
4
|
+
data.tar.gz: 9a65ec1ed8889174dde891f1e2b31412f3629c797182917fd86b56f2c36f385a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
##
|
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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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:
|
28
|
-
url: http://
|
29
|
-
email:
|
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
|
-
|
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
|
|
data/_includes/footer.html
CHANGED
@@ -1,12 +1,17 @@
|
|
1
1
|
<footer class="footer">
|
2
2
|
<div class="content has-text-centered">
|
3
3
|
<p>
|
4
|
-
|
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="
|
4
|
+
<meta name="description" content="{{ site. description }}">
|
5
5
|
|
6
|
-
|
7
|
-
{% if page.title == "Home" %}
|
8
|
-
{{ site.title }}
|
9
|
-
{% else %}
|
10
|
-
{{ page.title }} · {{ site.title }}
|
11
|
-
{% endif %}
|
12
|
-
</title>
|
6
|
+
{% seo %}
|
13
7
|
|
14
8
|
<!-- CSS -->
|
15
|
-
<link rel="stylesheet" href="https://
|
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
|
-
|
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>
|
data/_layouts/default.html
CHANGED
@@ -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
|
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="
|
14
|
-
<h2 class="subtitle is-3">{{ site.
|
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
|
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:
|
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.
|
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:
|
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://
|
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.
|
126
|
+
rubygems_version: 3.4.10
|
112
127
|
signing_key:
|
113
128
|
specification_version: 4
|
114
129
|
summary: Minimalist Jekyll theme based on Bulma
|