-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Master #1531
base: master
Are you sure you want to change the base?
Master #1531
Conversation
添加网易云跟帖的热门文章功能
修改了之前错误修改的多说hotarticles
@cduyzh can u do comments in English language? I don't understand what there and can't reproducte this. @geekrainy is that #1303 addon or what? |
@ivan-nginx He added the popular post features below the comments. This is useful for those who need it. |
Probally code is ok, but i'm not shure. |
@@ -355,7 +359,8 @@ duoshuo_info: | |||
admin_enable: false | |||
user_id: 0 | |||
#admin_nickname: Author | |||
|
|||
# 多说热评文章功能 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Duoshuo hot commentary article
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DuoShuo related functionality would be deleted.
@@ -0,0 +1,15 @@ | |||
{# 网易云跟帖热评文章 #} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{# Hot commentary article for NetEase gentie comments #}
<script src="https://img1.cache.netease.com/f2e/tie/yun/sdk/loader.js"></script> | ||
<script> | ||
var yunTieProductKey = "{{gentie_productKey}}"; | ||
var yunHotNewsWrap = "hot-news-wrap"; //放置的DOM节点ID 或 样式类 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Placed DOM id or class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translate Chinese into English.
@@ -300,6 +300,10 @@ mathjax: | |||
# Gentie productKey | |||
#gentie_productKey: | |||
|
|||
# Gentie hot article | |||
# gentie_productKey must NOT be null when gentie_hotartical is true! | |||
#gentie_hotartical: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gentie_hotartical
should be gentie_hot_articles
. Please don't follow the mistake.
@@ -355,7 +359,8 @@ duoshuo_info: | |||
admin_enable: false | |||
user_id: 0 | |||
#admin_nickname: Author | |||
|
|||
# 多说热评文章功能 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DuoShuo related functionality would be deleted.
1.添加了网易云跟帖热评文章的功能。
2.以及多说热评文章的主题配置文件参数添加。