Comments (7)
@SungwaYu
你当前使用是 keep 那个版本?
把你的主题配置文件发一份出来
from hexo-theme-keep.
ILS -> Keep 主题源文件做了较大的改动,为了不影响正常使用,请使用最新的主题和主题配置文件
from hexo-theme-keep.
在主页有进度条,进去了文章之后就很多都不生效(进度条,左边目录,代码复制)。
# ---------------------------------------------------------------------------------------
# Your basic info
# ---------------------------------------------------------------------------------------
base_info:
title: Sungwa's Blog
author: Sungwa Yu
url: https://sungwayu.github.io/
# ---------------------------------------------------------------------------------------
# Theme style settings
# ---------------------------------------------------------------------------------------
style:
# Theme primary color
primary_color: '#0066CC'
# Avatar (You can use local image or image external link)
avatar: /images/avatar.png
# Favicon (You can use local image or image external link)
favicon: /images/logo.png
# Article image align position, value: left | center
article_img_align: left
# Left side width
left_side_width: 260px
# Content area max width
content_max_width: 920px
# Mouse hover
hover:
shadow: true # shadow effect when the mouse hover
scale: false # scale effect when the mouse hover
# First screen
first_screen:
enable: true
background_img: /images/bg.svg
description: Welcome to My Blog
# Scroll style settings
scroll:
progress_bar:
enable: true
percent:
enable: true
# ---------------------------------------------------------------------------------------
# Social contact link
# ---------------------------------------------------------------------------------------
social_contact:
enable: true
links:
github: https://github.com/SungwaYu # your GitHub URL
weixin: # your WeChat QR-Code URL
qq: # your QQ QR-Code URL
weibo: # your WeiBo URL
zhihu: # your ZhiHu URL
twitter: # your twitter URL
facebook: # your facebook URL
email: [email protected] # your email
# ---------------------------------------------------------------------------------------
# Navigation menu
# ---------------------------------------------------------------------------------------
menu:
Home: /
Archives: /archives
Categories: /categories
# Tags: /tags
# Links: /links
About: /about
# Changelog: /changelog
# ......
# ---------------------------------------------------------------------------------------
# Home page article block display settings
# ---------------------------------------------------------------------------------------
home_article:
category:
enable: true # show category in home page article block
limit: 3 # max number of categories shown in home page article block
tag:
enable: true # show tags in home page article block
limit: 5 # max number of tags shown in home page article block
# ---------------------------------------------------------------------------------------
# Code copy
# ---------------------------------------------------------------------------------------
code_copy:
enable: true
style: mac # values: default | mac
# ---------------------------------------------------------------------------------------
# Table of Contents in the Sidebar
# ---------------------------------------------------------------------------------------
toc:
enable: true
# Automatically add list number to toc.
number: true
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
expand_all: true
# ---------------------------------------------------------------------------------------
# Post copyright info
# ---------------------------------------------------------------------------------------
copyright_info:
enable: false
# ---------------------------------------------------------------------------------------
# Post word count
# Dependencies: hexo-wordcount
# See: https://github.com/willin/hexo-wordcount
# ---------------------------------------------------------------------------------------
post_wordcount:
enable: true
wordcount: true # word count, one article
min2read: true # time to read, one article
# ---------------------------------------------------------------------------------------
# Website count
# ---------------------------------------------------------------------------------------
website_count:
# busuanzi
# See: http://ibruce.info/2015/04/04/busuanzi/
busuanzi_count:
enable: true
site_uv: false
site_pv: false
page_pv: true
# ---------------------------------------------------------------------------------------
# Local Search
# Dependencies: hexo-generator-searchdb
# See: https://github.com/theme-next/hexo-generator-searchdb
# ---------------------------------------------------------------------------------------
local_search:
enable: true
trigger: auto
unescape: false
preload: true # Preload the search data when the page loads
# ---------------------------------------------------------------------------------------
# Comment plugin
# ---------------------------------------------------------------------------------------
comment:
# Valine
# See: https://github.com/xCss/Valine
valine:
enable: false
appid: # your leancloud application appid
appkey: # your leancloud application appkey
placeholder: # your placeholder
# Gitalk
# See: https://github.com/gitalk/gitalk
gitalk:
enable: false
github_id: # GitHub repo owner
repository: # Repository name to store issues
client_id: # GitHub Application Client ID
client_secret: # GitHub Application Client Secret
# Twikoo
# See: https://github.com/imaegoo/twikoo
twikoo:
enable: false
env_id: # Tencent Cloud environment id
region: # environment region. If select Guangzhou, fill in "ap-guangzhou".
# ---------------------------------------------------------------------------------------
# RSS
# Dependencies: hexo-generator-feed
# See: https://github.com/hexojs/hexo-generator-feed
# ---------------------------------------------------------------------------------------
rss:
enable: false
# ---------------------------------------------------------------------------------------
# Lazyload image
# ---------------------------------------------------------------------------------------
lazyload:
enable: false
# ---------------------------------------------------------------------------------------
# CDN
# ---------------------------------------------------------------------------------------
cdn:
enable: false
# ---------------------------------------------------------------------------------------
# PJAX
# ---------------------------------------------------------------------------------------
pjax:
enable: false
# ---------------------------------------------------------------------------------------
# Footer settings
# ---------------------------------------------------------------------------------------
footer:
since: 2020
# ---------------------------------------------------------------------------------------
# Keep version (Please don't modify)
# ---------------------------------------------------------------------------------------
version: 3.3.0
from hexo-theme-keep.
@SungwaYu
你的主题配置文件没问题。
看了下你的网站,除 home 页外,其他页面都存在JS等资源不存在的加载错误。
原因是你的资源路径配置导致的。
注意看:正确的路径前面有:"/"
from hexo-theme-keep.
把你的 Hexo 配置文件也发一份我看下
from hexo-theme-keep.
或者你直接在主题配置文件里开启 CDN,使用 CDN 的资源路径,就不用管hexo配置这些问题了
from hexo-theme-keep.
@XPoet
解决了,relative_link:
这个我之前改成true了,现在改成false就好了。谢谢。
from hexo-theme-keep.
Related Issues (20)
- 分类页面,分类条目显示方式或者点击范围优化 HOT 1
- 首页-文章列表-“xx前更新”,可配置时间类型且对应的图标也可配置 HOT 1
- 文章详情页-发布时间,更新时间的图标可配置 HOT 1
- 详情页-文章标题下可的作者名称,可配置是否显示/隐藏。隐藏后标题和发布时间的间距需调整 HOT 1
- 标签页面,可设置彩色标签模式 HOT 1
- 部署失败,提示证书失效 HOT 3
- 请求可自定义 copyright_info 信息 HOT 2
- 自动部署失败,提示权限不足
- 文本中代码高亮遇到的问题 HOT 3
- 请问可以设置多个作者吗 HOT 2
- footer底部加入 公网安备的备案号 HOT 2
- 文字高亮 HOT 1
- 希望归档页面能设置成下拉式,翻页式需要加载且不够直观 HOT 1
- hexo deploy sftp 到线上服务器,很多文件的大小都是 0,还有就是图标显示不出来 HOT 2
- _config.yml里做了配置但是更新不了 HOT 1
- 在_config.yml文件做了配置,但是配置未生效 HOT 4
- Waline V3 Client更新了JS引入方式,希望能够更新Waline插件 HOT 4
- 使用 hexo-blog-encrypt 插件加密有TOC的文章 HOT 3
- Footer在不打开访问统计的情况下,和备案号之间多出一个空行 HOT 2
- 现在页面的主题颜色是根据系统颜色来判断显示的,是否可以指定默认颜色,而不是根据系统颜色来 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-keep.