lete114 / hexo-theme-mengd Goto Github PK
View Code? Open in Web Editor NEWA simple, lightweight Hexo theme
Home Page: https://mengd.js.org
License: MIT License
A simple, lightweight Hexo theme
Home Page: https://mengd.js.org
License: MIT License
已修复
PC端当把页面翻到最后一面时,顶部的导航栏无法由上下滑动而弹出,如该页面:https://onecanx.xyz/page/3/
代码实现
<script type="text/javascript"> function show_runtime() { window.setTimeout("show_runtime()", 1000); X = new Date("01/20/2021 21:00:00"); Y = new Date(); T = (Y.getTime() - X.getTime()); M = 24 * 60 * 60 * 1000; a = T / M; A = Math.floor(a); b = (a - A) * 24; B = Math.floor(b); c = (b - B) * 60; C = Math.floor((b - B) * 60); D = Math.floor((c - C) * 60); runtime_span.innerHTML = "小站于各种崩坏中续存了: " + A + "天" + B + "小时" + C + "分" + D + "秒" } show_runtime(); </script>
来源: FaDai's Blog
FATAL {
err: TypeError: Cannot set property 'path' of undefined
at Hexo. (C:\Users\12613\Desktop\hexo\themes\MengD\scripts\replace_config.js:14:22)
at Hexo.emit (events.js:327:22)
at Hexo._generate (C:\Users\12613\Desktop\hexo\node_modules\hexo\lib\hexo\index.js:452:10)
at C:\Users\12613\Desktop\hexo\node_modules\hexo\lib\hexo\index.js:356:19
at tryCatcher (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:729:18)
at Promise._fulfill (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:673:18)
at Promise._resolveCallback (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:466:57)
at Promise._settlePromiseFromHandler (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:559:17)
at Promise._settlePromise (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:729:18)
at Promise._fulfill (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:673:18)
at PromiseArray._resolve (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise_array.js:127:19)
at PromiseArray._promiseFulfilled (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise_array.js:145:14)
at Promise._settlePromise (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:609:26)
at Promise._settlePromise0 (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\12613\Desktop\hexo\node_modules\bluebird\js\release\async.js:93:12)
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html
当文章标题过多时,侧边栏目录会超出屏幕,有两个未能完全显示
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.