# Site
title: ****
subtitle: ''
description: ''
keywords:
author: *****
language: zh-CN
timezone: ''
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://********.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
trailing_html: true # Set to false to remove trailing '.html' from permalinks
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace: ''
wrap: true
hljs: false
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 10
order_by: -date
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## Use post's date for updated date unless set in front-matter
use_date_for_updated: false
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: suka
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo: git@github.com:*****/*****.github.io.git
branch: master
# Suka Theme config
# Documents: https://theme-suka.skk.moe/docs/
suka_theme:
search:
path: search.json
field: post # Page | Post | All. Default post
prism:
line_number: true
theme: default
feed:
type: atom
path: atom.xml
limit: 20
hub:
content:
content_limit: 140
content_limit_delim: ' '
order_by: -date
icon: icon.png
autodiscovery: true
template:
# hexo-hide-posts
hide_posts:
# 可以改成其他你喜欢的名字
filter: hide
# 指定你想要传递隐藏文章的 generator,比如让所有隐藏文章在存档页面可见
# 常见的 generators 有:index, tag, category, archive, sitemap, feed, etc.
public_generators: []
# 为隐藏的文章添加 noindex meta 标签,阻止搜索引擎收录
noindex: true
我确认我已经查看了 (选择时请使用 "x" 取代方括号中的空格)
Node.js and NPM Information
Node.js 和 NPM 的相关信息
node v10.16.3 npm -v6.9.0
Package dependencies Information
依赖包相关信息
站点目录下的package.json:
主题目录下package.json:
Hexo version
Hexo 版本号
INFO Checking dependencies INFO Loading Suka Theme Plugins
Hexo & Theme Configuration
站点配置文件和主题配置文件
全部站点配置文件:
全部主题配置文件:
我使用的平台,如 Android、iOS、Windows、Linux、MacOS 等
Windows 10
Which brows am I using, such as Chrome 58.0.3029.110 (64-bit)
我使用的浏览器(如 Chrome 58.0.3029.110 64 位)
chrome浏览器 版本79.0.3945.88 64位
What you are expected and what you actually get
预期结果和你的实际结果
问题一:本该在首页显示文章的阅读量统计数字,无论怎么刷新怎么点文章,首页上的数字通通锁定为0。文章内的阅读量统计数字倒是很正常,每点浏览一次就+1。输入hexo s --debug后,全程无红字报错
和 issue 有关的在线演示页面,推荐使用 JSFiddle 和 gist
问题一如图:![1](https://user-images.githubusercontent.com/56446819/75768800-06d46000-5d80-11ea-8f76-87c4ed973634.PNG)