monoholic 0.3.0 → 0.3.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: 364a310abc44a0c57868930db1aee8f0773c8f9948b3ff067d30529fb555cff8
4
- data.tar.gz: 6fb168dfecf8c8214801aa1a84630104b9e84e47eed27d391c2d3659b51d5884
3
+ metadata.gz: e9324c869e432f71540eb58af95625b3d5e513a4df8c5f28ac47f90e7cc92e82
4
+ data.tar.gz: c33bc694b685c92db02a3b8ebced5eebf76800d97cfad37d12a2686fb8983e6d
5
5
  SHA512:
6
- metadata.gz: 4570824fddcb4937b9581449b880a4fed8f8ff19f414a26dac7ae7c0b37920d390103a02418e88ec0731a8feda33d33fab043420e7ce81fadfcac2035f2ecbcc
7
- data.tar.gz: 873d4990a9e089443f4d093a4939dc3a57c07e3fa728922c402624a8129828560599ad8ebb49f7e6bca8b491f946911eb6e01b424268e9bdd6528292b08a4f78
6
+ metadata.gz: 6410c930b032cc541a5436c2fd34a4eec0314d0f401a299bddea8d5358859abfb7f786f59d24cffbb58b1db39091a8ae42709d4d04af9276032969b2e72fc9e2
7
+ data.tar.gz: 347a19557964fd8b571fb4542c2b33433c623638c0cdd7bde61b8ef032c6d6668962dbb535c9568bc92130defab41f1d717ec50a57dc064048555b7c715e620a
data/README.md CHANGED
@@ -14,13 +14,10 @@ A minimal, monochrome dark Jekyll theme🧪
14
14
 
15
15
  ## Features
16
16
 
17
- - **Minimalist Dark Aesthetic:** Sleek, high-contrast monochrome design out of the box.
18
- - **Data-Driven Menu:** Easily configure your site navigation via `_data/menu.yml`.
19
- - **Developer Friendly:** Code syntax highlighting and monospace typography (JetBrains Mono).
20
- - **Responsive Design:** Mobile-first layout with smooth fluid scaling using modern CSS.
21
- - **Customizable:** Centralized CSS variables for fast theming.
22
- - **SEO & RSS Ready:** Built-in support for `jekyll-seo-tag` and `jekyll-feed`.
23
- - **Per-Page Scripts:** Add specific JavaScript to individual pages seamlessly.
17
+ - Minimalist dark monochrome design
18
+ - Data-driven menu via `_data/menu.yml`
19
+ - Optional grayscale image filter
20
+ - SEO & RSS support
24
21
 
25
22
  ## Installation
26
23
 
@@ -68,6 +65,8 @@ Override the default settings in your `_config.yml`. Key theme configuration opt
68
65
  theme_config:
69
66
  back: ".." # Text for backlink on post pages
70
67
  date_format: "%Y%m%d" # Date format for post metadata
68
+ monochrome_images: true # Apply grayscale filter to images (default: true)
69
+ footer: true # Show/hide site footer (default: true)
71
70
  ```
72
71
 
73
72
  ### Menu Configuration
@@ -88,8 +87,21 @@ entries:
88
87
 
89
88
  - `title`: The section header.
90
89
  - `content`: Custom HTML or text for the menu section.
90
+ - `content_file`: Path to an external markdown file (e.g., `about.md`) to load content from your root directory.
91
91
  - `post_list`: Set to `true` to auto-generate a list of your Jekyll posts under this section.
92
92
 
93
+ #### Using External Content Files
94
+
95
+ You can reference external markdown files instead of inline content:
96
+
97
+ ```yaml
98
+ entries:
99
+ - title: about
100
+ content_file: about.md
101
+ ```
102
+
103
+ This will load and render the content from `about.md` in your site's root directory.
104
+
93
105
  ## Contributing
94
106
 
95
107
  Bug reports and pull requests are welcome on GitHub at [https://github.com/stiermid/monoholic](https://github.com/stiermid/monoholic). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
data/_config.yml CHANGED
@@ -18,6 +18,8 @@ theme_config:
18
18
  monochrome_images: true
19
19
  footer: true # set to false to hide the footer
20
20
 
21
+ # goatcounter: mycode # your GoatCounter site code (e.g. mycode.goatcounter.com)
22
+
21
23
  plugins:
22
24
  - jekyll-feed
23
25
  - jekyll-seo-tag
@@ -1,7 +1,7 @@
1
1
  <!doctype html>
2
2
  <html lang="{{ page.lang | default: "en" }}">
3
3
  {%- include head.html -%}
4
- <body class="{% if site.theme_config.monochrome_images %}m-img{% endif %}">
4
+ <body class="{% if site.theme_config.monochrome_images != false %}m-img{% endif %}">
5
5
  <main class="page-content" aria-label="Content">
6
6
  <div class="wrapper">
7
7
  {{ content }}
@@ -20,5 +20,13 @@
20
20
  ></script>
21
21
  {% endfor %}
22
22
  {% endif %}
23
+
24
+ {%- if site.goatcounter -%}
25
+ <script
26
+ data-goatcounter="https://{{ site.goatcounter }}.goatcounter.com/count"
27
+ async
28
+ src="//gc.zgo.at/count.js"
29
+ ></script>
30
+ {%- endif -%}
23
31
  </body>
24
32
  </html>
data/_sass/monoholic.scss CHANGED
@@ -18,7 +18,7 @@ body {
18
18
  color: var(--text-color);
19
19
  font-family: var(--font-family);
20
20
  font-size: var(--base-size);
21
- line-height: 1.7;
21
+ line-height: 1.4;
22
22
  margin: 0;
23
23
  padding: 0;
24
24
  -webkit-font-smoothing: antialiased;
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.0
4
+ version: 0.3.1
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-04-03 00:00:00.000000000 Z
11
+ date: 2026-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll