Prometheus
Prometheus copied to clipboard
🌈 A Clean And Modern Ghost Theme with Progressive Web Apps (PWA)
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.23 to 0.7.28. Commits 1d3c98a Revert breaking fix #279 and release as 0.7.28 535f11b Delete redundant code 642c039 Fix #492 LG TV WebOS detection 3edacdd Merge branch...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...
What is the easiest way to disable WebP? The images on my home page are too small and look pixelated. https://mrneilypops.xyz Neil
1. 图片全部懒加载 麻烦点在于,合适判断图片展示出来。在当前 js 中,加上了 lazyload 也没有加载出这些图片,因为搜索页面 pop 出来的时候没有触发 lazyLoad 函数。可以考虑在 img 标签里面加入 data-loaded="true" 这个属性辅助判断是否需要加载了。 2. 图片适度加载,利用裁剪 api,裁到合适大小 3. recent post 会额外请求一次,可以考虑省去这次请求,因为第一次加载博客首页的时候,最近的 5 篇文章的数据已经都可以拿到了,不需要再次请求了。