jekkyl-arumai 0.1.7 → 0.1.8

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -2
  3. data/_layouts/home.html +7 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9a16ae98a2a90229eaea899b8f4828c1fe7b31b10fa76033f6a210dc36de693
4
- data.tar.gz: b128ef80c3f63e44bd781a8b03e475b4592df1c77b0526965d5097a08d43821a
3
+ metadata.gz: 40c2831c063b13e39d9dea37580f4249e0c27ad095155a2078dd379d3e45d770
4
+ data.tar.gz: '059c9e40b1cccea85f95eaaeed7c34b8d7b833882cf4a532e96743e95a57fbc6'
5
5
  SHA512:
6
- metadata.gz: 1351ad1784c7473bee17948a46702e9206d92a5abed8bab99d6e71ab0c07e5c099d52faaa8e9caaa2bbf0d005c3cebcb8e4875d61ebf80d1c1033fda1a7d1cb7
7
- data.tar.gz: 955c4d273071847dc3b538ed6c7499963fd558dac25a934138db2697d38f13922ba1df30dbe02ff9a5353eafdfc5089fa79a23d2134577038c35301141acd270
6
+ metadata.gz: '0082b47066275466a626b671382b5e7ab5a343c1b97617474acb2226ba6e2bc456921d1c9b1d0e38bb1dca4d6029572929dfc5792e00c12b78c694917bbe7d9a'
7
+ data.tar.gz: 5518c46d036b4272edbcb52ce96729761777bdd8f4b2ad38ada15ab28582f205b41fd67b3ab055fca1b4983099293adab21986e26235fddb494d69eb1cace205
data/README.md CHANGED
@@ -62,12 +62,20 @@ Supported themes: `twilight`, `dark`, `funky`, `okaidia`, `coy`, `solarizedlight
62
62
  ### 4. Image Lightbox (PhotoSwipe)
63
63
  Arumai automatically integrates **PhotoSwipe 5**. Any image you add to your posts using standard Markdown will automatically become clickable, opening in a high-performance, responsive lightbox with zoom and swipe support. No extra configuration is required.
64
64
 
65
- ### 5. Home Page Image
66
- Customize your home page image by adding `image_url` to your `index.md` front matter:
65
+ ### 5. Home Page Image & Link
66
+ Customize your home page image and its link globally in your `_config.yml`:
67
+
68
+ ```yaml
69
+ author_image: "https://your-image-url.com/image.jpg"
70
+ author_url: "https://your-profile-or-social-link.com"
71
+ ```
72
+
73
+ Alternatively, you can override them for a specific page via front matter (e.g., in `index.md`):
67
74
 
68
75
  ```yaml
69
76
  layout: home
70
77
  image_url: "https://your-image-url.com/image.jpg"
78
+ author_url: "https://your-profile-or-social-link.com"
71
79
  ```
72
80
 
73
81
  ### 6. RSS Feed
data/_layouts/home.html CHANGED
@@ -8,11 +8,16 @@ layout: default
8
8
  </div>
9
9
  <div class="col-md-6">
10
10
  <div>
11
- {% if page.image_url %}
12
- <img class="w-100 rounded-circle home-page-image" src="{{page.image_url}}" />
11
+ {% assign home_image = page.image_url | default: site.author_image %}
12
+ {% assign home_url = page.author_url | default: site.author_url %}
13
+
14
+ {% if home_url %}<a href="{{ home_url }}">{% endif %}
15
+ {% if home_image %}
16
+ <img class="w-100 rounded-circle home-page-image" src="{{ home_image | relative_url }}" />
13
17
  {% else %}
14
18
  <img class="w-100 rounded-circle home-page-image" src="https://images.pexels.com/photos/14063089/pexels-photo-14063089.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" />
15
19
  {% endif %}
20
+ {% if home_url %}</a>{% endif %}
16
21
 
17
22
  </div>
18
23
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekkyl-arumai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sathia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-09 00:00:00.000000000 Z
11
+ date: 2026-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll