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

Hexo theme, Blog theme, Clean, Responsive theme

Results 49 hexo-theme-diaspora issues
Sort by recently updated
recently updated
newest added

If not, could be ask new maintainer? (#164)

ERROR { err: CssSyntaxError: /Users/liuzhen/hexo/themes/diaspora/source/css/diaspora.css:156:44: Unknown word at Input.error (/Users/liuzhen/hexo/node_modules/postcss/lib/input.js:128:16) at Parser.unknownWord (/Users/liuzhen/hexo/node_modules/postcss/lib/parser.js:561:22) at Parser.other (/Users/liuzhen/hexo/node_modules/postcss/lib/parser.js:166:12) at Parser.parse (/Users/liuzhen/hexo/node_modules/postcss/lib/parser.js:75:16) at parse (/Users/liuzhen/hexo/node_modules/postcss/lib/parse.js:17:12) at new LazyResult (/Users/liuzhen/hexo/node_modules/postcss/lib/lazy-result.js:64:16) at Processor. (/Users/liuzhen/hexo/node_modules/postcss/lib/processor.js:142:12) at...

为什么这么做: 主要是因为之前观察到单纯的随机可能会导致图片重复,而且概率不小,所以读了下 ejs 模板源码,把随机那块的逻辑优化了一下,尽量减少重复的可能性(事实上这么改了之后基本没有出现重复的情况了) 怎么做: 使用轮次进行随机,每一轮中每一次随机的值都会被保存下来(后文称作随机缓存),使得下次随机不会使用到已经随过的值,当保存的值达到最大可选数量的时候,就清空随机缓存的前半段数组,再进入下一轮随机。 效果: 因为本人目前文章的数量少于图片数量,可以得出这种情况下这个逻辑工作的效果还是不错的,不会再出现重复了。 但是文章数量多于图片数量时的去重效果还待验证。 代码: ![image](https://user-images.githubusercontent.com/42939682/170850917-136a1d33-f2eb-4a53-8749-2c211ce0cd5c.png) 如果作者大大有意向的话,可以考虑下把这个特性做到正式代码里面~

按照 README 下面的配置搜索插件流程安装的插件,出现搜索功能失效的问题。 描述: 1、hexo g 之后直接刷新搜索页面,功能正常,可以进行搜索; 2、hexo g 之后先打开主页再点击搜索按钮进入搜索框,功能不正常,无法正常搜索。 本地 patch 方案: 情形 2 发生之后,打开控制台,有一个 trace 的调用栈指向 searchFunc 这个函数,似乎是从 jquery 那个脚本调用过来的。根据错误内容推断是调用到这里的时候 id 为 local-search-input 的页面元素没有,导致拿到的对象是 null,于是下面注册监听回调的函数就报错了。 然后我跟了一下,打开搜索页面之后 local-search-input 这个页面元素其实是有的,于是怀疑是调用时序的问题,于是用...

我先来:https://blog.winterchen.com

页面切换之后音乐播放器就停了,可以设置成全局的音乐播放吗

URL: Description: ![image](https://user-images.githubusercontent.com/103161280/163957704-b9f2e393-1671-496f-b38e-b0be014531bc.png) ![image](https://user-images.githubusercontent.com/103161280/163958003-e2e2a816-8c40-4bc1-895a-5ec1c4bb5fe4.png) 错误提示:build up with jekyll

观察下来累积的 issue 进度似乎都处在停滞阶段,好似也没有 contributors 能参与实质维护