-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持配置「中文网字」列表内的字体配置,是否可行? #227
Comments
用自定义css功能就能实现自定义字体了啊。 |
好吧,主要是每次都要复制引入字体文件的代码,有点麻烦🤦♂️ 我想象的是我想设置某个字体,直接就复制字体名称,然后在 config .json 的配置项里面直接改 font 字段的值,就好了。不过算了,因为我发现貌似实现不了。 |
应该可以吧,先在 gmeek.py/ dconfig 添加font 字段, 再从 base.html 引入<link rel='stylesheet' href='https://chinese-fonts-cdn.deno.dev/packages/syst/dist/‘+ {{ blogBase['font'] }} +’/result.css' /> 没实际写过,不知道语法对不对 |
对的,就是像你说的这样! |
中文网字网站有许多免费的网络字体,我想问下能否支持在config.json里面增加font字段,来直接配置字体?
是否觉得没必要呢?如果有必要的话,我能否进行代码提交呢?
The text was updated successfully, but these errors were encountered: