You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
因为icarus本身不支持giscus,我在hexo/themes/icarus/layout/common/comment.jsx中添加了giscus生成的代码。能够成功显示,但有一个小问题,如果将_config.yml.icarus.yml中的comment填入任意评论系统,或不填,使用hexo s --debug时会出现警告
WARN Theme configurations failed one or more checks.
WARN Icarus may still run, but you will encounter unexcepted results.
WARN Here is some information for you to correct the configuration file.
WARN [
{
instancePath: '/comment',
schemaPath: '/comment/disqus.json/required',
keyword: 'required',
params: { missingProperty: 'shortname' },
message: "must have required property 'shortname'"
},
{
instancePath: '/comment',
schemaPath: '/comment/changyan.json/required',
keyword: 'required',
params: { missingProperty: 'app_id' },
message: "must have required property 'app_id'"
},
.......
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
很道歉打扰了,有几个问题想请教下大家
giscus评论
因为icarus本身不支持giscus,我在
hexo/themes/icarus/layout/common/comment.jsx
中添加了giscus生成的代码。能够成功显示,但有一个小问题,如果将_config.yml.icarus.yml
中的comment
填入任意评论系统,或不填,使用hexo s --debug
时会出现警告如果注释掉,则评论板块不显示。
虽然无伤大雅,但看着挺难受的,有办法去掉吗
友链
icarus默认的友链在侧边栏,但链接一多起来,就会很乱,而且无法显示头像;我尝试过#578 的解决方案,但技术有限,box的长宽始终无法调节,而且每增加一个友链就要复制多一个box,请问有什么好的解决方案吗
Beta Was this translation helpful? Give feedback.
All reactions