jekyll-vitepress-theme 1.11.0 → 1.11.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/assets/js/vitepress-theme.js +4 -6
- data/lib/jekyll/vitepress_theme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 941eba24aff121520a234e7672392da0212ef8571ffe1c0c5d7c7d2446f2cd8c
|
|
4
|
+
data.tar.gz: ed5ea5861a5c1af7bf26fad4e79d8bdb3ca8fb1427cf67771760e34a5a9f0c97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0a4fbd1e5df459f9932e3d3c92e5dfedfc13b1087713c5112c2acf2dfa716b63b84950a46d7889a973791c181f7095cc3de15a2205413b4fef4708e07248f95
|
|
7
|
+
data.tar.gz: 1b202d59f4377fbdfe7898c5a2aa41a6c76b1e409037f05a928211e2dee7ad9b0141374bb24d3408634a1fac4a00f0b5e68a37a439de01bed4ac51dfc9eacafd
|
|
@@ -2088,7 +2088,8 @@
|
|
|
2088
2088
|
var pendingDocFrameHash = null;
|
|
2089
2089
|
|
|
2090
2090
|
function shouldTargetDocFrameLink(link) {
|
|
2091
|
-
|
|
2091
|
+
// Pages without a sidebar (the home page) have no content frame to target.
|
|
2092
|
+
if (!link || !document.getElementById('vp-content-frame')) {
|
|
2092
2093
|
return false;
|
|
2093
2094
|
}
|
|
2094
2095
|
|
|
@@ -2321,11 +2322,8 @@
|
|
|
2321
2322
|
|
|
2322
2323
|
event.preventDefault();
|
|
2323
2324
|
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
return;
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2325
|
+
// Load the page in full. A Turbo Drive visit would swap the body while
|
|
2326
|
+
// this script's listeners stay bound to the old nav and sidebar.
|
|
2329
2327
|
if (event.detail && event.detail.response && event.detail.response.url) {
|
|
2330
2328
|
window.location.href = event.detail.response.url;
|
|
2331
2329
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-vitepress-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carmine Paolino
|
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
206
206
|
- !ruby/object:Gem::Version
|
|
207
207
|
version: '0'
|
|
208
208
|
requirements: []
|
|
209
|
-
rubygems_version:
|
|
209
|
+
rubygems_version: 4.0.20
|
|
210
210
|
specification_version: 4
|
|
211
211
|
summary: A polished, SEO-ready VitePress-style documentation theme for Jekyll.
|
|
212
212
|
test_files: []
|