Comments (3)
I added the code as below at the end of SimpleCore.js
$(function(){
if ((SimpleCore.getLocalData('read-mode') != 'night')&&(SimpleCore.getLocalData('read-mode') != 'day')) { // null
SimpleCore.switchReadMode();
}
})
It works properly, but i'm not very sure it's a graceful way :)
from hexo-theme-jsimple.
@longqzh Good idea. I consider that add this feature in next version and make it configurable. You can change the SimpleCore.js
for this so far....
from hexo-theme-jsimple.
@longqzh This have been support in version 0.0.8. You can have a try....
from hexo-theme-jsimple.
Related Issues (20)
- 请问怎么给文章添加目录呢? HOT 3
- Suggestion about guide HOT 4
- 代码引用出现样式问题 HOT 4
- table 样式有点问题
- table 样式有点问题 HOT 7
- 部分标签失效 HOT 5
- 任意文章都跳到undefined-undefined.html HOT 1
- mathjax not works
- hugo版 HOT 2
- 请问为什么人文或者科技分类栏一直404 HOT 2
- 同楼下,为什么添加的分类can find HOT 1
- update gitalk HOT 1
- Issue about Cover image path HOT 2
- /
- 菜单按钮的页面 HOT 1
- 请教下图片绝对地址不能显示的问题
- 在哪里可以设置首页大图 HOT 1
- 建议支持ICP备案信息 HOT 3
- 代码块错位 HOT 1
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-jsimple.