所得
学院网页、荣誉文凭、人文项目、公民教育网页基本完工,告一段落。
大概两天,不算有坑,稍作记录。
一种字体
Google Fonts 的思源宋体,从https://fonts.loli.net 曲线使用。
学术技术,一念至,即可为天下公器,感谢开源!
确实利益相关,闭源无可厚非,但开源的世界,进化才有更多可能。所以,无论国家之界、网络之墙,数据库之殇,一点一滴,使趋乌有,才是乐事!
一处时间
关于阅读时长,官方文档这么说
WPM
— Words Per Minute. Default:275
. You can check this here.- Slow ≈
200
- Normal ≈
275
- Fast ≈
350
Suffix
— If time to read less then 60 minutes, added suffix as string parameter. Default:mins.
Note for Chinese users: because in Chinese language average word length about~1.5
and if you at most cases write posts in Chinese (without mixed English), recommended to setawl
to2
andwpm
to300
.
But if you usualy mix your posts with English,awl
to4
andwpm
to275
will be nice.
- Slow ≈
算法写出的阅读速度,在不同文字风格下肯定会出问题,但,文从字顺,也还是多了一个理由。
文字被计算到如此程度,其实我很想知道,Plato在《Phaedrus》记录,Socrates讲埃及仓颉故事时狠狠指出了发明文字会带来伤害人类记忆力的恶果,今日,故事该如何讲呢?:)
For this invention will produce forgetfulness in the minds of those who learn to use it, because they will not practice their memory.
一只云盘
HEXO的源文件,不直接上传github,有不少人给出Branch的思路,但开启了留言评论系统,源码内有相关ID,总是危险。考虑了下百度云,非会员各种上传限制,于是Onedrive,指定仅同步源码文件夹,文件数虽然比较夸张,但毕竟不大,多个机器可以实时同步更新,文章真多到HEXO变慢的一天,再说。
一个报错
1 npm install hexo-deployer-git --save
1 | npm WARN babel-eslint@10.0.1 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself. |
需补充
1 | npm install eslint@4.x babel-eslint@8 --save-dev |