-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
# changyan | ||
changyan: | ||
enable: false | ||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. DuoShuo related functionality would be deleted. |
||
#duoshuo_hotartical: true | ||
|
||
# Facebook SDK Support. | ||
# https://github.com/iissnan/hexo-theme-next/pull/410 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{# 网易云跟帖热评文章 #} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
{% if (theme.gentie_hotartical and page.title) %} | ||
|
||
|
||
<div id="hot-news-wrap"></div> | ||
<script>var yunModuleEnv = true;</script> | ||
<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 commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
Tie.loader("aHR0cHM6Ly9hcGkuZ2VudGllLjE2My5jb20vZXh0ZW5kL2hvdF9uZXdzX3NjcmlwdC5odG1s", true); | ||
</script> | ||
|
||
|
||
{% endif %} |
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 begentie_hot_articles
. Please don't follow the mistake.