monoholic 0.2.0 → 0.2.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: cb8d2a0a5f4dc580bf9ee0c4ee5de0c431cd5143826a6b737532ffa8c16ab38b
4
- data.tar.gz: 43764f3194c9a2e9a80838d61abf4d77a168b408021a5ef6c238049d797bbce5
3
+ metadata.gz: 76a9c734e13a81434f35523f057f4304509d08826f3bcab72ef305f8db37fd74
4
+ data.tar.gz: de2b4079ee1a5a5251a248d0c5ce48517411af4cc7250c9d721f9bb57ef6a051
5
5
  SHA512:
6
- metadata.gz: 8f45c210797eb43016372854e2121af927d85193c35e8b11b845aead1f8d13b02b96362ab6debaf12401e1aa67e850b1bb2f53486cbf1db575fdfb3480bc38b4
7
- data.tar.gz: bdc140b7cfe1c4692ce98b3fa0c81c20fa552e39818e52618b5984a414ca53cf327d4075415a24b56c85749d08e23f0a10d640e199412b879fa6cf1ab1cbd1ff
6
+ metadata.gz: 5535ccdcc40efa1de9b285ad8e13298f4c9c0342d66fb56c3c8b07facd84d88a924a25be3600f97ac7d8504469ec2e147f0e7a55d1dc76829fa82b32d93f6a62
7
+ data.tar.gz: f36de14e6a4c0b1e3b8a10beabd7d71250fee8b78d544761b0632ef2f03e90dca8c8529cb143cb68d5d98c3ee14ed3e9bba97339218148d3d922d3703ec50d9c
data/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Monoholic
2
2
 
3
+ [![Github license](https://img.shields.io/github/license/stiermid/monoholic?color=black)](https://www.gnu.org/licenses/gpl-3.0.txt)
4
+ [![GitHub release](https://img.shields.io/github/v/release/stiermid/monoholic?color=black)](https://github.com/stiermid/monoholic/releases)
5
+ [![Ruby](https://img.shields.io/badge/Ruby-gem-black?logo=ruby&logoColor=white)](https://rubygems.org/gems/monoholic)
6
+ [![Gem Version](https://img.shields.io/gem/v/monoholic?color=black)](https://rubygems.org/gems/monoholic)
7
+ [![GitHub Pages](https://img.shields.io/badge/GitHub_Pages-ready-black?logo=github&logoColor=white)](https://stiermid.github.io/monoholic)
8
+
3
9
  A minimal, monochrome dark Jekyll theme🧪
4
10
 
5
11
  <h3 align="center"><a href="https://stiermid.github.io/monoholic">Try the demo out!</a></h3>
@@ -52,7 +58,7 @@ Or, simply fork this repository, adapt the `_config.yml` according to your needs
52
58
 
53
59
  ### Basic Setup
54
60
 
55
- Once installed, build your site using the provided layouts (`default`, `home`, `page`, `post`).
61
+ Once installed, build your site using the provided layouts (`default`, `home`, `page`, `post`).
56
62
 
57
63
  ### Configuration
58
64
 
@@ -60,13 +66,13 @@ Override the default settings in your `_config.yml`. Key theme configuration opt
60
66
 
61
67
  ```yaml
62
68
  theme_config:
63
- back: ".." # Text for backlink on post pages
69
+ back: ".." # Text for backlink on post pages
64
70
  date_format: "%Y%m%d" # Date format for post metadata
65
71
  ```
66
72
 
67
73
  ### Menu Configuration
68
74
 
69
- Monoholic uses a data-driven approach to its menu. Create or edit `_data/menu.yml` to define your site's navigation structure.
75
+ Monoholic uses a data-driven approach to its menu. Create or edit `_data/menu.yml` to define your site's navigation structure.
70
76
 
71
77
  Example `_data/menu.yml`:
72
78
 
@@ -80,9 +86,9 @@ entries:
80
86
  post_list: true
81
87
  ```
82
88
 
83
- * `title`: The section header.
84
- * `content`: Custom HTML or text for the menu section.
85
- * `post_list`: Set to `true` to auto-generate a list of your Jekyll posts under this section.
89
+ - `title`: The section header.
90
+ - `content`: Custom HTML or text for the menu section.
91
+ - `post_list`: Set to `true` to auto-generate a list of your Jekyll posts under this section.
86
92
 
87
93
  ## Contributing
88
94
 
data/_config.yml CHANGED
@@ -8,8 +8,6 @@ baseurl: "/monoholic" # the subpath of your site, e.g. /blog
8
8
  url: "https://stiermid.github.io" # the base hostname & protocol for your site, e.g. http://example.com
9
9
  github_username: "stiermid"
10
10
 
11
- remote_theme: stiermid/monoholic
12
-
13
11
  # Build settings
14
12
  markdown: kramdown
15
13
  remote_theme: stiermid/monoholic
@@ -17,6 +15,7 @@ remote_theme: stiermid/monoholic
17
15
  theme_config:
18
16
  back: ".."
19
17
  date_format: "%Y%m%d"
18
+ monochrome_images: true
20
19
 
21
20
  plugins:
22
21
  - jekyll-feed
@@ -1,7 +1,7 @@
1
1
  <!doctype html>
2
2
  <html lang="{{ page.lang | default: "en" }}">
3
3
  {%- include head.html -%}
4
- <body>
4
+ <body class="{% if site.theme_config.monochrome_images %}m-img{% endif %}">
5
5
  <main class="page-content" aria-label="Content">
6
6
  <div class="wrapper">
7
7
  {{ content }}
data/_sass/monoholic.scss CHANGED
@@ -43,6 +43,16 @@ a {
43
43
  text-decoration: underline;
44
44
  }
45
45
 
46
+ img {
47
+ max-width: 100%;
48
+ display: block;
49
+ margin: 0 auto;
50
+ }
51
+
52
+ .m-img img {
53
+ filter: grayscale(1);
54
+ }
55
+
46
56
  .highlighter-rouge,
47
57
  highlight {
48
58
  background-color: var(--text-color);
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monoholic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agil Mammadov
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-03-30 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: jekyll
@@ -79,6 +80,7 @@ dependencies:
79
80
  - - "~>"
80
81
  - !ruby/object:Gem::Version
81
82
  version: '2.8'
83
+ description:
82
84
  email:
83
85
  - mammadovagil@tutamail.com
84
86
  executables: []
@@ -105,6 +107,7 @@ homepage: https://github.com/stiermid/monoholic
105
107
  licenses:
106
108
  - GPL-3.0-only
107
109
  metadata: {}
110
+ post_install_message:
108
111
  rdoc_options: []
109
112
  require_paths:
110
113
  - lib
@@ -119,7 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
122
  - !ruby/object:Gem::Version
120
123
  version: '0'
121
124
  requirements: []
122
- rubygems_version: 3.6.9
125
+ rubygems_version: 3.2.3
126
+ signing_key:
123
127
  specification_version: 4
124
128
  summary: Minimal monochrome dark Jekyll theme
125
129
  test_files: []