hexo-theme-next
hexo-theme-next copied to clipboard
Can't display the number of views for each post
I agree and want to create new issue
- [x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
- [x] Yes, I was on NexT Documentation Site.
- [x] And yes, I already searched for current issues and this is not help to me.
Expected behavior
display the number of views for each post

Actual behavior
Can't display the number of views for each post, and the browser console shows The Uncaught ReferenceError: $ is not defined

Steps to reproduce the behavior
- N/A
- N/A
- N/A
- Link to demo site with this bug: https://blog.dlzhang.com
- Link(s) to source code or any usefull link(s): https://github.com/lei2rock/blog
Node.js and NPM Information
v12.1.0
6.9.0
Package dependencies Information
https://github.com/lei2rock/blog/blob/src/package.json
Hexo Information
Hexo version
hexo: 3.9.0
hexo-cli: 2.0.0
os: Darwin 18.6.0 darwin x64
node: 12.1.0
v8: 7.4.288.21-node.16
uv: 1.28.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 72
nghttp2: 1.38.0
napi: 4
llhttp: 1.1.1
http_parser: 2.8.0
openssl: 1.1.1b
cldr: 35.1
icu: 64.2
tz: 2019a
unicode: 12.1
Hexo Configuration
https://github.com/lei2rock/blog/blob/src/_config.yml
NexT Information
NexT Version:
- [x] Latest Master branch
- [ ] Latest Release version
- [ ] Old version
NexT Scheme:
- [ ] All schemes
- [ ] Muse
- [ ] Mist
- [ ] Pisces
- [x] Gemini
NexT Configuration:
https://github.com/lei2rock/blog/blob/src/source/_data/next.yml
Other Information
Fixed in https://github.com/theme-next/hexo-theme-next/commit/10ecc09f36beefaa7218f3f75e5cfe68fcc86234