monoholic 0.2.2 → 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: 7f689c014926e6a1293a905d632c69f5a7e1b466f388c0ffac79be7db8d1b09f
4
- data.tar.gz: e088fa4b93335ea13bb884da2e5f97b0e3da75c2533c055de3ef34e7ec8f170f
3
+ metadata.gz: 364a310abc44a0c57868930db1aee8f0773c8f9948b3ff067d30529fb555cff8
4
+ data.tar.gz: 6fb168dfecf8c8214801aa1a84630104b9e84e47eed27d391c2d3659b51d5884
5
5
  SHA512:
6
- metadata.gz: 44ffe45d10456c18f5588cc4006b16e631cc2f84dde9cb65644077e2770f24c04efe2ff2cbddb6f8c6dfd994a5497cfaad89ac326ca3cf938c9b894ccf299305
7
- data.tar.gz: 511aa56fb0ace3d90e4ea2e53b68203d85cc3fae6586794922e9fe7911e23795db58f5d047c4abbbd9d44b9691d3447175842fa1e4579712ef433c33b256ca0a
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 %}
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.2
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-04-02 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