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 +4 -4
- data/README.md +19 -7
- data/_config.yml +2 -0
- data/_layouts/default.html +9 -1
- data/_sass/monoholic.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9324c869e432f71540eb58af95625b3d5e513a4df8c5f28ac47f90e7cc92e82
|
|
4
|
+
data.tar.gz: c33bc694b685c92db02a3b8ebced5eebf76800d97cfad37d12a2686fb8983e6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
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
data/_layouts/default.html
CHANGED
|
@@ -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
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
|
+
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-
|
|
11
|
+
date: 2026-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|