-
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
Add comment youyan #1324
Add comment youyan #1324
Conversation
@@ -277,6 +277,9 @@ mathjax: | |||
# Gentie productKey | |||
#gentie_productKey: | |||
|
|||
# youyan uid |
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.
Link to get youyan uid in comment maybe?
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.
login uyan.cc
then get your code
e.g.
<!-- UY BEGIN -->
<div id="uyan_frame"></div>
<script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=34343324"></script>
<!-- UY END -->
then just fill your uid get from uyan.cc in the _config.yml
e.g.
youyan_uid=34343324
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.
the url of youyan is http://uyan.cc
and it is just in Chinese
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.
Thanks.
In _config.yml
this comment in short variant maybe?
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.
I write a blog to explain how to implement ,
https://jinfang134.github.io/posts/5f6c0475/
sorry for it is writen in chinese.
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.
just fill in the youyan_uid
in the _config.yml
for adding youyan comment in your hexo
<!-- UY END --> | ||
{% endif %} | ||
|
||
{% 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.
You can add a new line at end of file.
@@ -22,6 +22,8 @@ | |||
<div id="hypercomments_widget"></div> | |||
{% elseif theme.gentie_productKey %} | |||
<div id="cloud-tie-wrapper" class="cloud-tie-wrapper"></div> | |||
{% elseif theme.youyan_uid %} | |||
<div id="uyan_frame"></div> |
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.
Keep indent 2 spaces. :)
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.
updated
#youyan_uid: | ||
# support youyan comments, | ||
# you can regist and get your uid from http://www.uyan.cc | ||
# for more informations, you can visit my blog https://jinfang134.github.io/posts/5f6c0475/ |
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.
No need to PR your blog in config file. All info about usage must be in conversation. For example, u can see my pulls.
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.
ok,i modify it
@@ -2,3 +2,4 @@ | |||
{% include './comments/disqus.swig' %} | |||
{% include './comments/hypercomments.swig' %} | |||
{% include './comments/gentie.swig' %} | |||
{% include './comments/youyan.swig' %} |
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.
A new at end of the file.
@@ -277,6 +277,11 @@ mathjax: | |||
# Gentie productKey | |||
#gentie_productKey: | |||
|
|||
# support youyan comments, | |||
# you can regist and get your uid from http://www.uyan.cc | |||
# youyan uid ,like youyan_id=2343223 |
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.
-youyan uid ,like youyan_id=2343223
+youyan uid, like youyan_id=2343223
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.
???
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.
Fix on this:
# Support for youyan comments system.
# You can get your uid from http://www.uyan.cc
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.
what is meaning?
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.
ok ,i know!
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.
haa, my English is so poor...
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.
updated!
Well done. For now code looks fine. Now need just wait for merge. And Happy New Year to everybody! :> |
Happy new year. |
方法来自next的官方文档
http://theme-next.iissnan.com/third-party-services.html#analytics-system
里的链接
https://notes.wanghao.work/2015-10-21-%E4%B8%BANexT%E4%B8%BB%E9%A2%98%E6%B7%BB%E5%8A%A0%E6%96%87%E7%AB%A0%E9%98%85%E8%AF%BB%E9%87%8F%E7%BB%9F%E8%AE%A1%E5%8A%9F%E8%83%BD.html#%E9%85%8D%E7%BD%AELeanCloud
…On 2017年01月06日 09:44, Elvin Henry wrote:
请问,如何此加上评论数的显示image
<https://cloud.githubusercontent.com/assets/11313370/21704474/b36cd9b4-d3f4-11e6-8237-67131cfc62d8.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1324 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWG1oUU2V-9gPGIOiTb0bK1CpeNIvX7Qks5rPZyYgaJpZM4LVQod>.
|
至于评论数,应该没有办法添加,因为使用的第三方的评论,不是自建的。
…On 2017年01月06日 09:44, Elvin Henry wrote:
请问,如何此加上评论数的显示image
<https://cloud.githubusercontent.com/assets/11313370/21704474/b36cd9b4-d3f4-11e6-8237-67131cfc62d8.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1324 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWG1oUU2V-9gPGIOiTb0bK1CpeNIvX7Qks5rPZyYgaJpZM4LVQod>.
|
@jinfang134 多谢,多说也是第三方的,目前可以显示 |
Add comment youyan
@jinfang134 友言评论功能失效了吗? monotone.github.io |
for issue #1305
add youyan comments for next themes
添加友言评论支持,
for more detail,please read my blog.
更多细节请访问我的博客http://jinfang.oschina.io/posts/5f6c0475/