jekyll-theme-console-bulma 1.0.0 → 1.1.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 +44 -2
- data/_includes/head.html +5 -0
- data/_sass/jekyll-theme-console-bulma/_base.scss +3 -1
- data/_sass/jekyll-theme-console-bulma/_components.scss +18 -0
- data/_sass/jekyll-theme-console-bulma/_layout.scss +7 -0
- data/_sass/jekyll-theme-console-bulma.scss +4 -4
- data/assets/favicons/apple-touch-icon.png +0 -0
- data/assets/favicons/favicon-96x96.png +0 -0
- data/assets/favicons/favicon.ico +0 -0
- data/assets/favicons/favicon.svg +12 -0
- data/assets/favicons/site.webmanifest +21 -0
- data/assets/favicons/web-app-manifest-192x192.png +0 -0
- data/assets/favicons/web-app-manifest-512x512.png +0 -0
- data/assets/main.scss +1 -1
- metadata +8 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e82dec9982baff454d5265a059a170731568530dd3b07a8cf6a508908c259abd
|
|
4
|
+
data.tar.gz: 925adac371f13f5c66d213a7be66e5c87379dd083868c67611f691e7a759f8bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1501f637e6225dc2b0d82c2e22cb5932f00b51cecfc29c734e5d842b7fe92c1a3b9f53303ec3d5a419734acd525a3e6ea81e0aa3ee1575c12cbf7425fbb834b9
|
|
7
|
+
data.tar.gz: de9b858aeb5b8d7060c342087326aab44bb6c7dac0a6b9e1fcae9e3caeeeb79775c15e497ac7877b9b1cc03066290a9ea2b44276d20db41e924d17e4b7deadc0
|
data/README.md
CHANGED
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
*Terminal-inspired Jekyll theme. Bulma-powered, retro-styled, hacker-approved.*
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**[Demo: retromatter.github.io/jekyll-theme-console-bulma](https://retromatter.github.io/jekyll-theme-console-bulma)**
|
|
6
|
+
|
|
7
|
+
| Light | Dark |
|
|
8
|
+
|-------|------|
|
|
9
|
+
|  |  |
|
|
10
|
+
|
|
11
|
+
| Hacker | Nord |
|
|
12
|
+
|--------|------|
|
|
13
|
+
|  |  |
|
|
6
14
|
|
|
7
15
|
## Installation
|
|
8
16
|
|
|
@@ -35,7 +43,7 @@ bundle install
|
|
|
35
43
|
|
|
36
44
|
### Includes
|
|
37
45
|
|
|
38
|
-
- `head.html` — `<head>` block. Loads Bulma CSS, theme styles, and
|
|
46
|
+
- `head.html` — `<head>` block. Loads Bulma CSS, theme styles, SEO tags, and favicon links.
|
|
39
47
|
- `header.html` — Site title and theme switcher dropdown.
|
|
40
48
|
- `footer.html` — Copyright year and attribution.
|
|
41
49
|
- `disqus_comments.html` — Disqus comment box (optional).
|
|
@@ -54,6 +62,27 @@ bundle install
|
|
|
54
62
|
- `assets/main.scss` — Compiled to `assets/main.css` by Jekyll.
|
|
55
63
|
- `assets/css/bulma.min.css` — Local Bulma CSS (no CDN dependency).
|
|
56
64
|
- `assets/js/theme-switcher.js` — Theme switcher with localStorage persistence.
|
|
65
|
+
- `assets/favicons/` — Favicon set (SVG, ICO, PNG, apple-touch-icon, web app manifest).
|
|
66
|
+
|
|
67
|
+
## Favicons
|
|
68
|
+
|
|
69
|
+
A favicon set is included and automatically linked in `head.html`. No configuration needed — it works out of the box.
|
|
70
|
+
|
|
71
|
+
The following files are shipped with the gem under `assets/favicons/`:
|
|
72
|
+
|
|
73
|
+
| File | Purpose |
|
|
74
|
+
|------|---------|
|
|
75
|
+
| `favicon.svg` | Modern browsers (SVG icon) |
|
|
76
|
+
| `favicon.ico` | Legacy browser fallback |
|
|
77
|
+
| `favicon-96x96.png` | PNG fallback |
|
|
78
|
+
| `apple-touch-icon.png` | iOS home screen icon |
|
|
79
|
+
| `web-app-manifest-192x192.png` | Home screen / app icon (192px) |
|
|
80
|
+
| `web-app-manifest-512x512.png` | Home screen / app icon (512px) |
|
|
81
|
+
| `site.webmanifest` | Web app manifest (enables "Add to Home Screen") |
|
|
82
|
+
|
|
83
|
+
To replace the favicons, override any of the files above by placing your own versions in `assets/favicons/` in your site root.
|
|
84
|
+
|
|
85
|
+
> **Tip:** If you want browsers to auto-detect your favicon without relying on `<link>` tags, also place a `favicon.ico` and `favicon.svg` at your site root. This is not required — the theme links them explicitly — but some crawlers and browser toolbars look for them at the root.
|
|
57
86
|
|
|
58
87
|
## Configuration
|
|
59
88
|
|
|
@@ -101,6 +130,19 @@ version instead of the gem's.
|
|
|
101
130
|
cp $(bundle show jekyll-theme-console-bulma)/_includes/footer.html _includes/footer.html
|
|
102
131
|
```
|
|
103
132
|
|
|
133
|
+
## Optional Extensions
|
|
134
|
+
|
|
135
|
+
These are not included in the gem — the theme stays intentionally minimal. If you want any of them, source the file separately and drop it into your site root.
|
|
136
|
+
|
|
137
|
+
| File | What it does | How to wire it up |
|
|
138
|
+
|------|-------------|-------------------|
|
|
139
|
+
| `_layouts/compress.html` | Minifies HTML output at build time | Set `layout: compress` as the parent of your `_layouts/default.html` |
|
|
140
|
+
| `_includes/anchor_headings.html` | Adds `#` anchor links to every heading | Replace `{{ content }}` in `post.html` with `{%- include anchor_headings.html html=content -%}` |
|
|
141
|
+
| `_includes/author.html` | Author bio card below post content | Add `{%- include author.html -%}` inside `_layouts/post.html` |
|
|
142
|
+
| `assets/js/search.min.js` | Client-side search (Lunr.js) | Also requires a generated search index and a search UI page |
|
|
143
|
+
|
|
144
|
+
> **Note on `compress.html`:** Use with caution — HTML minification can break whitespace inside `<pre>` and `<code>` blocks, which are central to this theme.
|
|
145
|
+
|
|
104
146
|
## Contributing
|
|
105
147
|
|
|
106
148
|
Bug reports and pull requests are welcome on GitHub at
|
data/_includes/head.html
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
{%- seo -%}
|
|
5
5
|
<link rel="stylesheet" href="{{ '/assets/css/bulma.min.css' | relative_url }}">
|
|
6
6
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="{{ '/assets/favicons/favicon.svg' | relative_url }}">
|
|
8
|
+
<link rel="icon" type="image/png" sizes="96x96" href="{{ '/assets/favicons/favicon-96x96.png' | relative_url }}">
|
|
9
|
+
<link rel="shortcut icon" href="{{ '/assets/favicons/favicon.ico' | relative_url }}">
|
|
10
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicons/apple-touch-icon.png' | relative_url }}">
|
|
11
|
+
<link rel="manifest" href="{{ '/assets/favicons/site.webmanifest' | relative_url }}">
|
|
7
12
|
{%- feed_meta -%}
|
|
8
13
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
|
9
14
|
{%- include google-analytics.html -%}
|
|
@@ -8,7 +8,9 @@ body {
|
|
|
8
8
|
min-height: 100vh;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
h1, h2, h3, h4, h5, h6, .title, .subtitle
|
|
11
|
+
h1, h2, h3, h4, h5, h6, .title, .subtitle,
|
|
12
|
+
.content h1, .content h2, .content h3,
|
|
13
|
+
.content h4, .content h5, .content h6 {
|
|
12
14
|
color: var(--text-color);
|
|
13
15
|
font-family: inherit;
|
|
14
16
|
font-weight: bold;
|
|
@@ -97,3 +97,21 @@ code {
|
|
|
97
97
|
.content strong {
|
|
98
98
|
color: inherit;
|
|
99
99
|
}
|
|
100
|
+
|
|
101
|
+
.content blockquote {
|
|
102
|
+
background-color: var(--background-color);
|
|
103
|
+
border-left-color: var(--base-color);
|
|
104
|
+
color: var(--text-color);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.content table thead th,
|
|
108
|
+
.content table thead td {
|
|
109
|
+
color: var(--text-color);
|
|
110
|
+
border-color: var(--base-color);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.content table td,
|
|
114
|
+
.content table th {
|
|
115
|
+
color: var(--text-color);
|
|
116
|
+
border-color: var(--base-color);
|
|
117
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
@import "jekyll-theme-console-bulma/variables";
|
|
2
|
+
@import "jekyll-theme-console-bulma/base";
|
|
3
|
+
@import "jekyll-theme-console-bulma/layout";
|
|
4
|
+
@import "jekyll-theme-console-bulma/components";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><metadata><rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"><rdf:description><dc:creator>RealFaviconGenerator</dc:creator><dc:source>https://realfavicongenerator.net</dc:source></rdf:description></rdf:rdf></metadata><style>
|
|
2
|
+
rect { fill: #0d0d0d; }
|
|
3
|
+
text { fill: #00ff88; }
|
|
4
|
+
@media (prefers-color-scheme: light) {
|
|
5
|
+
rect { fill: #f5f5f5; }
|
|
6
|
+
text { fill: #0d0d0d; }
|
|
7
|
+
}
|
|
8
|
+
</style><rect width="32" height="32" rx="4"></rect><text x="3" y="22" font-family="monospace" font-size="16" font-weight="bold">>_</text><style>@media (prefers-color-scheme: light) { :root { filter: none; } }
|
|
9
|
+
@media (prefers-color-scheme: dark) { :root { filter: none; } }
|
|
10
|
+
</style><style>@media (prefers-color-scheme: light) { :root { filter: none; } }
|
|
11
|
+
@media (prefers-color-scheme: dark) { :root { filter: invert(100%); } }
|
|
12
|
+
</style></svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "",
|
|
3
|
+
"short_name": "",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "web-app-manifest-192x192.png",
|
|
7
|
+
"sizes": "192x192",
|
|
8
|
+
"type": "image/png",
|
|
9
|
+
"purpose": "maskable"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"src": "web-app-manifest-512x512.png",
|
|
13
|
+
"sizes": "512x512",
|
|
14
|
+
"type": "image/png",
|
|
15
|
+
"purpose": "maskable"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"theme_color": "#ffffff",
|
|
19
|
+
"background_color": "#ffffff",
|
|
20
|
+
"display": "standalone"
|
|
21
|
+
}
|
|
Binary file
|
|
Binary file
|
data/assets/main.scss
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-console-bulma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- JUNL.EE
|
|
@@ -88,6 +88,13 @@ files:
|
|
|
88
88
|
- _sass/jekyll-theme-console-bulma/_layout.scss
|
|
89
89
|
- _sass/jekyll-theme-console-bulma/_variables.scss
|
|
90
90
|
- assets/css/bulma.min.css
|
|
91
|
+
- assets/favicons/apple-touch-icon.png
|
|
92
|
+
- assets/favicons/favicon-96x96.png
|
|
93
|
+
- assets/favicons/favicon.ico
|
|
94
|
+
- assets/favicons/favicon.svg
|
|
95
|
+
- assets/favicons/site.webmanifest
|
|
96
|
+
- assets/favicons/web-app-manifest-192x192.png
|
|
97
|
+
- assets/favicons/web-app-manifest-512x512.png
|
|
91
98
|
- assets/js/theme-switcher.js
|
|
92
99
|
- assets/main.scss
|
|
93
100
|
homepage: https://github.com/retromatter/jekyll-theme-console-bulma
|