Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章页面显示的目录不全 #98

Open
GreenHatHG opened this issue Jul 12, 2019 · 4 comments
Open

文章页面显示的目录不全 #98

GreenHatHG opened this issue Jul 12, 2019 · 4 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@GreenHatHG
Copy link

我确认我已经查看了(选择时请使用 "x" 取代方括号中的空格)


npm -v : 6.10.1
node -v : v11.7.0

package.json

站点目录

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "hexo": {
    "version": "3.9.0"
  },
  "dependencies": {
    "braces": "^3.0.2",
    "eslint": "^6.0.1",
    "hexo": "^3.9.0",
    "hexo-asset-image": "^1.0.0",
    "hexo-deployer-git": "^1.0.0",
    "hexo-generator-archive": "^0.1.5",
    "hexo-generator-category": "^0.1.3",
    "hexo-generator-feed": "^1.2.2",
    "hexo-generator-index": "^0.2.1",
    "hexo-generator-tag": "^0.2.0",
    "hexo-renderer-ejs": "^0.3.1",
    "hexo-renderer-kramed": "^0.1.4",
    "hexo-renderer-mathjax": "^0.6.0",
    "hexo-renderer-stylus": "^0.3.3",
    "hexo-server": "^0.3.1",
    "lodash": "^4.17.14"
  }
}

主题目录

{
  "name": "hexo-theme-suka",
  "version": "1.3.3",
  "description": "Modern, powerful and simple theme for Hexo",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "setup": "npm cache clean && npm install",
    "lint": "bash lint.sh"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/SukkaW/hexo-theme-suka.git"
  },
  "keywords": [
    "hexo",
    "hexo-theme",
    "suka",
    "sukkaw"
  ],
  "author": "SukkaW",
  "license": "GPL-3.0",
  "bugs": {
    "url": "https://github.com/SukkaW/hexo-theme-suka/issues"
  },
  "homepage": "https://github.com/SukkaW/hexo-theme-suka#readme",
  "devDependencies": {
    "ejs-lint": "0.3.0",
    "eslint": "5.16.0",
    "gulp": "4.0.2",
    "gulp-autoprefixer": "6.1.0",
    "gulp-clean-css": "4.2.0",
    "gulp-rename": "1.4.0",
    "gulp-uglify": "3.0.2",
    "sass-lint": "1.13.1"
  },
  "dependencies": {
    "json-stringify-safe": "5.0.1",
    "node-prismjs": "0.1.2",
    "prismjs": "1.16.0",
    "qr-image": "3.2.0"
  }
}

hexo版本

hexo-cli: 2.0.0
os: Linux 5.2.0-arch2-1-ARCH linux x64
node: 11.7.0
v8: 7.0.276.38-node.16
uv: 1.24.1
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 67
nghttp2: 1.34.0
napi: 3
llhttp: 1.0.1
http_parser: 2.8.0
openssl: 1.1.0j
cldr: 34.0
icu: 63.1
tz: 2018e
unicode: 11.0

已开启toc

toc:                                                                                                                                        
  # You can still disable toc for each single post by setting their front-matter with 'toc: false'                                          
  enable: true                                                                                                                              
  # Show line number for each toc list-item or not. Default is true.                                                                        
  line_number: true

使用的浏览器:Google Chrome 75.0.3770.100(正式版本) (64 位)

使用的系统:Arch Linux x86_64 5.2.0-arch2-1-ARCH


出现的问题

文章页面显示的目录不全,已经将滚动条拖到末尾

文章地址:

Arch安装配置笔记

@GreenHatHG
Copy link
Author

@sunhb
Copy link

sunhb commented Jul 15, 2019

遇到了同样的问题。

@GreenHatHG
Copy link
Author

遇到了同样的问题。

你解决了没

@SukkaW SukkaW self-assigned this Jul 25, 2019
@SukkaW SukkaW added bug Something isn't working question Further information is requested labels Jul 25, 2019
@evrmji
Copy link

evrmji commented Mar 6, 2020

看到上面的 issue, 突发奇想, 进行了测试, 同样发现这个问题.
测试文件:
image
输出结果:
image
输出结果详细
image
image
详细结果:
https://github.com/evrmji/blog/blob/c1569f73f2d2f0f446bc3a24aed34c1f705b9979/2020/hello/index.html#L411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants