jekyll-uj-powertools 1.6.10 → 1.6.11

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: 35b84beec0a95ec93970628a610e4544bd05222f56cc506182004b92ab385a2a
4
- data.tar.gz: ad6b772e401fbb29e1a84c0318cf8ee3140849ebf669d9dd4ae431ca10c692aa
3
+ metadata.gz: 11df894ba3e6ec90b19f3cfce9ee7696dc1ae2a399dd709ebc3894ed75292fa8
4
+ data.tar.gz: 3ad318e32bd86a8718a2c4a20daaa201a0a555c776b4ae37d084000831f53fc8
5
5
  SHA512:
6
- metadata.gz: 0c3e1446d8a13f702a3a8ba18b83b37722639c60c7a4deaf29ec8428872dab68569dd4b3cd4848b24bd1e514ac740be8d6ebe82005767b0e06434b81782b88ea
7
- data.tar.gz: 14fc27afef757637bfb264fdb34421d134812d2fc14078e3fa7039024659d38662449adb331a42ce15abe0aaad7c047fe51198ddacd0166303c1cfcd19aa01d2
6
+ metadata.gz: 83364951d73755ddaf57a0ffde41e0e917945366f9aaed67f238ea967d8ee89600ef140b39b32e04b80cc926a694a3e5f2d9ad905202fbbf3db82c62801eef14
7
+ data.tar.gz: 42543e04159f00a31c7316b620a6d5cc426a4ebd0a2739cdc3fcda96615a57fa1d7a106a045fee49f96ee95a17e84b24c537ad8b00e11d49b9fd077130685fcc
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  Gem::Specification.new do |spec|
6
6
  # Gem info
7
7
  spec.name = "jekyll-uj-powertools"
8
- spec.version = "1.6.10"
8
+ spec.version = "1.6.11"
9
9
 
10
10
  # Author info
11
11
  spec.authors = ["ITW Creative Works"]
@@ -55,6 +55,14 @@ module Jekyll
55
55
  # Handle empty path (home page)
56
56
  return '' if clean_path.empty?
57
57
 
58
+ # Special case: remove index.html from blog paths
59
+ # This converts "blog/index.html" to "blog"
60
+ clean_path = clean_path.sub(/^blog\/index\.html$/, 'blog')
61
+
62
+ # Special case: remove .html from blog pagination paths
63
+ # This converts "blog/page/2.html" to "blog/page/2"
64
+ clean_path = clean_path.sub(/^blog\/page\/(\d+)\.html$/, 'blog/page/\1')
65
+
58
66
  clean_path
59
67
  end
60
68
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-uj-powertools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.10
4
+ version: 1.6.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - ITW Creative Works
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-23 00:00:00.000000000 Z
11
+ date: 2025-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll