hexo-theme-volantis 6.0.1 → 6.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.0.2](https://github.com/volantis-x/hexo-theme-volantis/compare/v6.0.1...v6.0.2) (2025-11-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * offsetHeight ([746201a](https://github.com/volantis-x/hexo-theme-volantis/commit/746201af1da5afa04800d8d83dfeb014b87014d7))
9
+ * remove noarchive ([dc40369](https://github.com/volantis-x/hexo-theme-volantis/commit/dc403691071a07cb433de34becdb0d35e59c9afa))
10
+
3
11
  ## [6.0.1](https://github.com/volantis-x/hexo-theme-volantis/compare/v6.0.0...v6.0.1) (2025-11-17)
4
12
 
5
13
 
@@ -403,7 +403,7 @@
403
403
  )
404
404
  }
405
405
  volantis.scroll.offsetHeight = function () {
406
- return Math.max(
406
+ return Math.min(
407
407
  document.body.offsetHeight,
408
408
  document.documentElement.offsetHeight,
409
409
  document.body.clientHeight,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-volantis",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "Elegant and powerful theme for Hexo.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -31,8 +31,8 @@ hexo.extend.helper.register('generate_seo', function (theme, page) {
31
31
  }
32
32
  if (robots_content) {
33
33
  robots_content = addImagePreviewIfNoNoindex(robots_content)
34
- return `<meta name="robots" content="${robots_content},noarchive">`
34
+ return `<meta name="robots" content="${robots_content}">`
35
35
  }else{
36
- return `<meta name="robots" content="index,follow,max-image-preview:large,noarchive">`
36
+ return `<meta name="robots" content="index,follow,max-image-preview:large">`
37
37
  }
38
38
  });