Re: [cdlug/cdlug.github.io] 要不要考虑把 static site generator 迁移到 hugo (#19)

32 views
Skip to first unread message

hao Qing

unread,
Mar 17, 2020, 4:18:42 PM3/17/20
to cdlug/cdlug.github.io, Chengdu GNU/Linux User Group
hexo 有哥们(手动 @ cosmos )弄过。
> 之前有哥们弄了 hexo,还玩了反向代理 ,然后他忙于和各种妹子约会和学习,然后我接到锅玩不转。


我在怀疑 SF 的维护者们,天天还在自己撸 html 或者自己维护脚本更新页面。
我认同用 sf 的都是大佬(我有过劝 xxdiff 大佬用 git/github 被骂怂的战绩),但是至今我都没有 sf 帐号,或者注册来就没有活跃用起来。

不只是我也看到很多之前托管在 sf 或者其他地方的项目慢慢迁移到 github
github 作为商业实现,他之所以走到今天的地位,就是香。
(gitlab 我不了解,如果一样香,毫不犹豫的不犹豫的)

我在这说这,不是舔哪一家,是因为我爱你们,我也是在对赌一样用命和你们在这讨论这。


https://github.com/cdlug/cdlug.github.io/issues/3#issuecomment-600252519On
3/17/20,


QuantumGhost <notifi...@github.com> wrote:
> Hexo 我没弄过,不过这个我先看看再说吧
>
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/cdlug/cdlug.github.io/issues/19#issuecomment-599855907


--
from haobug

Wenqiang Hu

unread,
Apr 5, 2020, 10:50:30 AM4/5/20
to cdlug_c...@googlegroups.com, reply+AAJV4PMGJ62OPBGGL7...@reply.github.com
It seems that we are using Hugo now...

Maybe you should check it out: https://cdlug.org

Sorry for not reminding you.


Sent from ProtonMail mobile



-------- Original Message --------

--
You received this message because you are subscribed to the Google Groups "Chengdu GNU/Linux User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdlug_communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdlug_community/CANw%2Br1UgE4Jm6sGhcDf0Cos0i_5U-44gSbDJAFTGXxrDbtoW7w%40mail.gmail.com.

7ym0n.q6e

unread,
Apr 26, 2020, 4:46:34 AM4/26/20
to Chengdu GNU/Linux User Group
同样弃用hexo。
我看cdlug 现在用了额外的静态发布,其实github 还可以结合ci平台,建一个pages仓库,一个public的投稿仓库,一个私有仓库存放github的key,然后ci发布,把源文档和静态资源隔离(个人洁癖),避免依赖迁移起来麻烦(用ci好处就是ci可以随意改变的,可以是本地,其他自动化构建;ps:我自己都用公司的自动化构建发布)。

另外我建议用orgmode写文章,orgmode本身很完善很强大,支持vscode,emacs编辑器。

我自己现在弃用markdown直接写文章,原因就是,如果你要换平台迁移起来比较麻烦,需要修改各种头信息(这个一般用shell处理),包括图片等,最坑的就是本地图片,如果用的系统本身不支持就需要去修改,很麻烦。比如hexo的next主题,那个图片存放的方式修改起来真麻烦。
当然有人推荐图床,我个人反正不太喜欢这样的骚操作,要是商业系统加一个防盗链,就傻眼了(想想自己辛辛苦苦写的文章,图都无法正常显示,抓狂不?),还是喜欢把文章和图片放一起舒服,不管怎么迁移都没问题。


在 2020年3月18日星期三 UTC+8上午4:18:42,haobug写道:
Reply all
Reply to author
Forward
0 new messages