ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.28k stars 1.54k forks source link

文章比较多的时候首页边栏加载很慢 #1245

Closed zh0ngtian closed 6 months ago

zh0ngtian commented 6 months ago

确保你在提交Bug反馈之前仔细阅读了Hexo文档Icarus用户指南,和GitHub issues来了解你的问题是否已经被他人提出过。

Bug描述 文章比较多的时候首页边栏加载很慢,中间那栏先出来,左右两栏后出来,大概隔了好几秒,我有一百多篇文章。

系统与环境 列出你的Hexo和Icarus的版本和配置。

node: 12.14.0 v8: 7.7.299.13-node.16 uv: 1.33.1 zlib: 1.2.11 brotli: 1.0.7 ares: 1.15.0 modules: 72 nghttp2: 1.39.2 napi: 5 llhttp: 1.1.4 http_parser: 2.8.0 openssl: 1.1.1d cldr: 35.1 icu: 64.2 tz: 2019c unicode: 12.1


- 站点配置文件`_config.yml`
- 主题配置文件`_config.icarus.yml`或`themes/icarus/_config.yml`
- 其他额外的配置文件(文章front-matter,`_config.post.yml`,或`_config.page.yml`)
- 浏览器版本(如Firefox 70.0,Chrome Android 80.0)
Microsoft Edge
版本 120.0.2210.61 (正式版本) (arm64)

**复现方式**

**期望行为**
边栏和中间栏一起出来。

**截图**
![](http://img.zh0ngtian.tech/2023_12_10_oOq6yn.png)

**额外上下文**
附上与问题有关的其他上下文信息。
zh0ngtian commented 6 months ago

试了下关掉动画,这个问题就没有了。我又找了一个其他人试用 Icarus 的博客,发现他的并没有问题,应该是我哪里配置不对,所以像这种情况是哪个配置有问题呢?

ppoffice commented 6 months ago

关闭动画或者限制每页最多显示文章数量。

zh0ngtian commented 6 months ago

配置了首页文章分页就好了