hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

Can't display the number of views for each post

Open Aermisty opened this issue 7 years ago • 2 comments

I agree and want to create new issue


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

  1. N/A
  2. N/A
  3. 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

Aermisty avatar Jul 20 '19 11:07 Aermisty

Fixed in https://github.com/theme-next/hexo-theme-next/commit/10ecc09f36beefaa7218f3f75e5cfe68fcc86234

stevenjoezhang avatar Jul 20 '19 12:07 stevenjoezhang

Fixed in 10ecc09

Great! It was solved. Thx

Aermisty avatar Jul 20 '19 12:07 Aermisty