jekyll-theme-console-bulma 1.0.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 791118de68377760f6c5f8dab59eae70066f8c79be535505db2b0dd8e9c1e9ee
4
- data.tar.gz: db4e9f1e74f1afcca63aaaf6eb879578345250afc84d940ddfc92badc5980c71
3
+ metadata.gz: e82dec9982baff454d5265a059a170731568530dd3b07a8cf6a508908c259abd
4
+ data.tar.gz: 925adac371f13f5c66d213a7be66e5c87379dd083868c67611f691e7a759f8bb
5
5
  SHA512:
6
- metadata.gz: 31e589d12159c7b0cb4dd54e3d4511142e4d2c1643190a42c646f29eeed2ad246a97386d09b781fcb33ec2db4ef14cebb2a6765301cc27f7ecb777b074825e92
7
- data.tar.gz: a93eb8733eebd6fc13b1ed137b4eb3da09e0dc42e332275dc3c9ead4daae62e6213b5dfe4d541887f335270186a775ca1d758e56a155d94c34535814560bcb14
6
+ metadata.gz: 1501f637e6225dc2b0d82c2e22cb5932f00b51cecfc29c734e5d842b7fe92c1a3b9f53303ec3d5a419734acd525a3e6ea81e0aa3ee1575c12cbf7425fbb834b9
7
+ data.tar.gz: de9b858aeb5b8d7060c342087326aab44bb6c7dac0a6b9e1fcae9e3caeeeb79775c15e497ac7877b9b1cc03066290a9ea2b44276d20db41e924d17e4b7deadc0
data/README.md CHANGED
@@ -43,7 +43,7 @@ bundle install
43
43
 
44
44
  ### Includes
45
45
 
46
- - `head.html` — `<head>` block. Loads Bulma CSS, theme styles, and SEO tags.
46
+ - `head.html` — `<head>` block. Loads Bulma CSS, theme styles, SEO tags, and favicon links.
47
47
  - `header.html` — Site title and theme switcher dropdown.
48
48
  - `footer.html` — Copyright year and attribution.
49
49
  - `disqus_comments.html` — Disqus comment box (optional).
@@ -62,6 +62,27 @@ bundle install
62
62
  - `assets/main.scss` — Compiled to `assets/main.css` by Jekyll.
63
63
  - `assets/css/bulma.min.css` — Local Bulma CSS (no CDN dependency).
64
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.
65
86
 
66
87
  ## Configuration
67
88
 
@@ -109,6 +130,19 @@ version instead of the gem's.
109
130
  cp $(bundle show jekyll-theme-console-bulma)/_includes/footer.html _includes/footer.html
110
131
  ```
111
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
+
112
146
  ## Contributing
113
147
 
114
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 -%}
@@ -29,3 +29,10 @@ header {
29
29
  footer {
30
30
  margin-top: auto;
31
31
  }
32
+
33
+ @media screen and (max-width: 767px) {
34
+ footer .footer-cols {
35
+ display: block;
36
+ .column { width: 100%; }
37
+ }
38
+ }
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">&gt;_</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
+ }
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.0.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