monoholic 0.2.1 → 0.3.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: 76a9c734e13a81434f35523f057f4304509d08826f3bcab72ef305f8db37fd74
4
- data.tar.gz: de2b4079ee1a5a5251a248d0c5ce48517411af4cc7250c9d721f9bb57ef6a051
3
+ metadata.gz: 364a310abc44a0c57868930db1aee8f0773c8f9948b3ff067d30529fb555cff8
4
+ data.tar.gz: 6fb168dfecf8c8214801aa1a84630104b9e84e47eed27d391c2d3659b51d5884
5
5
  SHA512:
6
- metadata.gz: 5535ccdcc40efa1de9b285ad8e13298f4c9c0342d66fb56c3c8b07facd84d88a924a25be3600f97ac7d8504469ec2e147f0e7a55d1dc76829fa82b32d93f6a62
7
- data.tar.gz: f36de14e6a4c0b1e3b8a10beabd7d71250fee8b78d544761b0632ef2f03e90dca8c8529cb143cb68d5d98c3ee14ed3e9bba97339218148d3d922d3703ec50d9c
6
+ metadata.gz: 4570824fddcb4937b9581449b880a4fed8f8ff19f414a26dac7ae7c0b37920d390103a02418e88ec0731a8feda33d33fab043420e7ce81fadfcac2035f2ecbcc
7
+ data.tar.gz: 873d4990a9e089443f4d093a4939dc3a57c07e3fa728922c402624a8129828560599ad8ebb49f7e6bca8b491f946911eb6e01b424268e9bdd6528292b08a4f78
data/_config.yml CHANGED
@@ -16,6 +16,7 @@ theme_config:
16
16
  back: ".."
17
17
  date_format: "%Y%m%d"
18
18
  monochrome_images: true
19
+ footer: true # set to false to hide the footer
19
20
 
20
21
  plugins:
21
22
  - jekyll-feed
data/_data/menu.yml CHANGED
@@ -1,7 +1,6 @@
1
1
  entries:
2
2
  - title: about
3
- content: |
4
- <p> Lorem.</p>
3
+ content_file: about.md
5
4
 
6
5
  - title: all posts
7
6
  post_list: true
data/_includes/menu.html CHANGED
@@ -1,7 +1,15 @@
1
1
  {%- for item in include.collection -%}
2
2
  <section>
3
3
  <h2 class="section-title">// {{ item.title }} //</h2>
4
- {%- if item.content -%}{{ item.content }}{%- endif -%}
4
+ {%- if item.content_file -%}
5
+ {%- assign _menu_page = site.pages
6
+ | where: 'path', item.content_file
7
+ | first
8
+ -%}
9
+ {{ _menu_page.content | markdownify }}
10
+ {%- elsif item.content -%}
11
+ {{ item.content }}
12
+ {%- endif -%}
5
13
  </section>
6
14
  {%- if item.post_list -%}{%- include post_list.html -%}{%- endif -%}
7
15
  {%- if item.entries -%}
@@ -8,7 +8,9 @@
8
8
  </div>
9
9
  </main>
10
10
 
11
- {%- include footer.html -%}
11
+ {%- unless site.theme_config.footer == false -%}
12
+ {%- include footer.html -%}
13
+ {%- endunless -%}
12
14
 
13
15
  {% if page.custom_js %}
14
16
  {% for js_file in page.custom_js %}
data/_sass/monoholic.scss CHANGED
@@ -59,10 +59,29 @@ highlight {
59
59
  color: var(--bg-color);
60
60
  }
61
61
 
62
+ div.highlighter-rouge code {
63
+ display: block;
64
+ overflow-x: auto;
65
+ white-space: pre-wrap;
66
+ }
67
+
62
68
  pre.highlight {
63
69
  padding: 1rem;
64
70
  }
65
71
 
72
+ table {
73
+ width: 100%;
74
+ margin-bottom: 1rem;
75
+ }
76
+
77
+ table,
78
+ th,
79
+ td {
80
+ border: thin solid var(--meta-color);
81
+ border-collapse: collapse;
82
+ padding: 0.4rem;
83
+ }
84
+
66
85
  blockquote {
67
86
  font-style: italic;
68
87
  border: thin solid var(--border-color);
@@ -147,7 +166,6 @@ section {
147
166
 
148
167
  .post-meta {
149
168
  color: var(--meta-color);
150
- margin-bottom: 2rem;
151
169
  display: block;
152
170
  }
153
171
  }
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.2.1
4
+ version: 0.3.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-03-30 00:00:00.000000000 Z
11
+ date: 2026-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll