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 +4 -4
- data/README.md +12 -6
- data/_config.yml +1 -2
- data/_layouts/default.html +1 -1
- data/_sass/monoholic.scss +10 -0
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76a9c734e13a81434f35523f057f4304509d08826f3bcab72ef305f8db37fd74
|
|
4
|
+
data.tar.gz: de2b4079ee1a5a5251a248d0c5ce48517411af4cc7250c9d721f9bb57ef6a051
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5535ccdcc40efa1de9b285ad8e13298f4c9c0342d66fb56c3c8b07facd84d88a924a25be3600f97ac7d8504469ec2e147f0e7a55d1dc76829fa82b32d93f6a62
|
|
7
|
+
data.tar.gz: f36de14e6a4c0b1e3b8a10beabd7d71250fee8b78d544761b0632ef2f03e90dca8c8529cb143cb68d5d98c3ee14ed3e9bba97339218148d3d922d3703ec50d9c
|
data/README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Monoholic
|
|
2
2
|
|
|
3
|
+
[](https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
4
|
+
[](https://github.com/stiermid/monoholic/releases)
|
|
5
|
+
[](https://rubygems.org/gems/monoholic)
|
|
6
|
+
[](https://rubygems.org/gems/monoholic)
|
|
7
|
+
[](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: ".."
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
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>
|
|
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.
|
|
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:
|
|
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.
|
|
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: []
|