monoholic 0.3.4 → 0.4.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: b825d51334252ea7ec7188599bc836dece2abf3f0967f4f4a768e89fcced9cd1
4
- data.tar.gz: 1ef9b7d09762b5d87162f57ac98635cc32e4c4896906e9e88658b70a9bb3217f
3
+ metadata.gz: 044dac4d04d05d470a7658d92f07367f3397e4a3320ad7671dd179d56031f67b
4
+ data.tar.gz: 4a9452903eb775eeac16cb6b46e7251187fb886a1734a4f38427038d84ef7262
5
5
  SHA512:
6
- metadata.gz: 86457836f8faaafeb8129a54167911f06527731ed4fa630172b96aa57484abc387b064da9a374b2f117b2a34f6e2b9d2f6cb1edfe298a46ace696ca288cdeab2
7
- data.tar.gz: ebbc2e2c6342aaa195cfbbd023f0108ca4f121b3baa7680b85c2316b1a51b955b2d155310676b1f9ca5e84a53bf00529092652a918b641f26cdccf4ca6a6a8b3
6
+ metadata.gz: 15f8403d08e3fc3f441b74e0dc18e5cefdb5c6e3869d3f67073206e87672dba89cebff02679f5c271946a6a79ef93f48114a36f91ba1fe785f273c0de1db293b
7
+ data.tar.gz: 7c00170dc0ab40891c21d41226355a3fd23d9a457145a342d077e6b3055170757d19e7abe56154c73acce10c33278c20ad7e4824e6e81c77cc5caa04b76fba17
data/README.md CHANGED
@@ -129,6 +129,14 @@ entries:
129
129
 
130
130
  This will load and render the content from `about.md` in your site's root directory.
131
131
 
132
+ ### Favicon
133
+
134
+ Monoholic ships with a default favicon. To use your own, replace the following files in your site's `assets/` directory:
135
+
136
+ - `assets/favicon.ico` — legacy browsers
137
+ - `assets/favicon.svg` — modern browsers
138
+ - `assets/apple-touch-icon.png` — iOS home screen (180×180)
139
+
132
140
  ### Per-Page JavaScript
133
141
 
134
142
  To load custom JavaScript files on a specific page, add a `custom_js` list to the page's front matter:
data/_includes/head.html CHANGED
@@ -10,5 +10,19 @@
10
10
  rel="stylesheet"
11
11
  >
12
12
  <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
13
+ <link
14
+ rel="icon"
15
+ href="{{ "/assets/favicon.ico" | relative_url }}"
16
+ sizes="any"
17
+ >
18
+ <link
19
+ rel="icon"
20
+ href="{{ "/assets/favicon.svg" | relative_url }}"
21
+ type="image/svg+xml"
22
+ >
23
+ <link
24
+ rel="apple-touch-icon"
25
+ href="{{ "/assets/apple-touch-icon.png" | relative_url }}"
26
+ >
13
27
  {%- feed_meta -%}
14
28
  </head>
@@ -2,7 +2,10 @@
2
2
  {%- for post in site.posts -%}
3
3
  <li>
4
4
  <span class="post-meta">
5
- {% assign _date_fmt = site.theme_config.date_format | default: "%Y-%m-%d" %}* {{ post.date | date: _date_fmt }}
5
+ {% assign _date_fmt = site.theme_config.date_format
6
+ | default: '%Y-%m-%d'
7
+ %}
8
+ * {{ post.date | date: _date_fmt }}
6
9
  </span>
7
10
  <a href="{{ post.url | relative_url }}">
8
11
  {{ post.title | escape }}
data/_layouts/post.html CHANGED
@@ -3,9 +3,14 @@ layout: default
3
3
  ---
4
4
  <article>
5
5
  <div class="post-header">
6
- <a href="{{ '/' | relative_url }}">{{ site.theme_config.back | default: "Back" }}</a>
6
+ <a href="{{ '/' | relative_url }}">
7
+ {{ site.theme_config.back | default: 'Back' }}
8
+ </a>
7
9
  <span class="post-meta">
8
- {% assign _date_fmt = site.theme_config.date_format | default: "%Y-%m-%d" %}{{ page.date | date: _date_fmt }}
10
+ {% assign _date_fmt = site.theme_config.date_format
11
+ | default: '%Y-%m-%d'
12
+ %}
13
+ {{ page.date | date: _date_fmt }}
9
14
  </span>
10
15
  </div>
11
16
  <h1>{{ page.title }}</h1>
@@ -11,8 +11,8 @@
11
11
  flex-wrap: wrap; // Mobile safety
12
12
  }
13
13
 
14
- .post-meta{
15
- margin-bottom: 0
14
+ .post-meta {
15
+ margin-bottom: 0;
16
16
  }
17
17
  }
18
18
 
@@ -33,6 +33,27 @@
33
33
  }
34
34
  }
35
35
 
36
+ .error-page {
37
+ display: flex;
38
+ flex-direction: column;
39
+ align-items: center;
40
+ text-align: center;
41
+ padding-top: var(--space-3xl);
42
+ gap: var(--space-sm);
43
+
44
+ .error-code {
45
+ font-size: 6rem;
46
+ font-weight: 700;
47
+ color: var(--meta-color);
48
+ line-height: 1;
49
+ margin: 0;
50
+ }
51
+
52
+ h1 {
53
+ margin: 0;
54
+ }
55
+ }
56
+
36
57
  .site-footer {
37
58
  padding-top: var(--space-xl);
38
59
  font-size: var(--font-size-sm);
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,58 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="32"
6
+ height="32"
7
+ viewBox="0 0 32 32"
8
+ version="1.1"
9
+ id="svg1"
10
+ inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
11
+ sodipodi:docname="icon.svg"
12
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ xmlns:svg="http://www.w3.org/2000/svg">
16
+ <sodipodi:namedview
17
+ id="namedview1"
18
+ pagecolor="#505050"
19
+ bordercolor="#eeeeee"
20
+ borderopacity="1"
21
+ inkscape:showpageshadow="0"
22
+ inkscape:pageopacity="0"
23
+ inkscape:pagecheckerboard="0"
24
+ inkscape:deskcolor="#505050"
25
+ inkscape:document-units="px"
26
+ inkscape:zoom="16"
27
+ inkscape:cx="8.125"
28
+ inkscape:cy="19.59375"
29
+ inkscape:window-width="1918"
30
+ inkscape:window-height="1052"
31
+ inkscape:window-x="0"
32
+ inkscape:window-y="0"
33
+ inkscape:window-maximized="1"
34
+ inkscape:current-layer="layer1" />
35
+ <defs
36
+ id="defs1" />
37
+ <g
38
+ inkscape:label="Layer 1"
39
+ inkscape:groupmode="layer"
40
+ id="layer1">
41
+ <path
42
+ style="font-size:48px;font-family:Monospace;-inkscape-font-specification:Monospace"
43
+ d="M 4.4799998,27.981593 V 4.4984075 h 3.744 c 0,0 0.72,1.36 1.488,0.624 0.8000002,-0.736 1.8080002,-1.104 3.0240002,-1.104 1.152,0 2.128,0.336 2.928,1.008 0.8,0.672 2.496,0.672 3.264,0 0.8,-0.672 1.808,-1.008 3.024,-1.008 1.696,0 3.04,0.64 4.032,1.92 1.024,1.248 1.536,2.88 1.536,4.8960005 V 27.981593 H 23.488 V 10.786408 c 0,-1.0560005 -0.256,-1.8880005 -0.768,-2.4960005 -0.512,-0.64 -1.216,-0.96 -2.112,-0.96 -0.864,0 -1.552,0.304 -2.064,0.912 -0.512,0.608 -0.768,1.44 -0.768,2.4960005 V 27.981593 H 14.224 V 10.786408 c 0,-1.0560005 -0.256,-1.8880005 -0.768,-2.4960005 -0.512,-0.64 -1.2,-0.96 -2.064,-0.96 -0.896,0 -1.6000002,0.304 -2.1120002,0.912 -0.512,0.608 -0.768,1.44 -0.768,2.4960005 v 17.243185 z"
44
+ id="text2"
45
+ aria-label="m"
46
+ sodipodi:nodetypes="ccccsscscsccscsssccscssscc" />
47
+ <text
48
+ xml:space="preserve"
49
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:48px;font-family:Monospace;-inkscape-font-specification:Monospace;writing-mode:lr-tb;direction:ltr;fill:#000000"
50
+ x="-171.11984"
51
+ y="24.041632"
52
+ id="text3"><tspan
53
+ sodipodi:role="line"
54
+ id="tspan2"
55
+ x="-171.11984"
56
+ y="24.041632" /></text>
57
+ </g>
58
+ </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monoholic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agil Mammadov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-05 00:00:00.000000000 Z
11
+ date: 2026-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -105,7 +105,12 @@ files:
105
105
  - _sass/_layout.scss
106
106
  - _sass/_variables.scss
107
107
  - _sass/monoholic.scss
108
+ - assets/apple-touch-icon.png
108
109
  - assets/css/style.scss
110
+ - assets/favicon-16x16.png
111
+ - assets/favicon-32x32.png
112
+ - assets/favicon.ico
113
+ - assets/favicon.svg
109
114
  homepage: https://github.com/stiermid/monoholic
110
115
  licenses:
111
116
  - GPL-3.0-only
@@ -125,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
130
  - !ruby/object:Gem::Version
126
131
  version: '0'
127
132
  requirements: []
128
- rubygems_version: 3.2.3
133
+ rubygems_version: 3.5.22
129
134
  signing_key:
130
135
  specification_version: 4
131
136
  summary: Minimal monochrome dark Jekyll theme