-
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
Upgrade jiathis share thirdpard plugin code template. #1796
Conversation
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.
Language must not be hardcoded.
<a class="jiathis_button_qzone">QQ空间</a> | ||
<a class="jiathis_button_tqq">腾讯微薄</a> | ||
<a class="jiathis_button_douban">豆瓣</a> | ||
<a class="jiathis_button_share">一键分享</a> |
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.
Can u translate this all labels in language dir?
<a class="jiathis_button_douban">豆瓣</a> | ||
<a class="jiathis_button_share">一键分享</a> | ||
|
||
<a href="http://www.jiathis.com/share?uid=2140465" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a> |
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.
And this too.
@ivan-nginx Thanks for your CR. But I don't think we need do this. This third party plugin only useful in China may not other language people. Also other share target will use in EN language. So is you still hold to your point? |
Upgrade the analytics script code position, because someone maybe use icons display for analytics flag. So the script not suit in head mark. |
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.
If u don't want to translate this, can u please add some comments about this is for China only?
layout/_layout.swig
Outdated
@@ -44,7 +43,7 @@ | |||
<footer id="footer" class="footer"> | |||
<div class="footer-inner"> | |||
{% include '_partials/footer.swig' %} | |||
{% include '_third-party/analytics/busuanzi-counter.swig' %} | |||
{% include '_third-party/analytics/index.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.
busuanzi-counter
is visible widget for footer. No need to do this.
@@ -1,3 +1,4 @@ | |||
{% include 'busuanzi-counter.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.
busuanzi-counter
is visible widget for footer. No need to do this.
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.
Also, if u move busuanzi-counter
index to widget, u must delete it from index, right?
@ivan-nginx Sorry, maybe there you can't understand my explain about 56a8d62. There not only |
@elkan1788 awesome site! China have own cyrrillic domains too, this is good.
So, most part of this has no visible widget and if u want to see your CNZZ counter (or something else) in footer, u must do it as separated option, like Also, u can see in history of Please, take your time and do all rightly. |
@ivan-nginx Thanks for suggest and do all update under your point. Please check. :) |
@@ -0,0 +1,4 @@ | |||
{% include 'busuanzi-counter.swig' %} | |||
{% include 'busuanzi-counter.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.
Why repeat busuanzi-counter.swig
?
layout/_layout.swig
Outdated
@@ -44,7 +44,7 @@ | |||
<footer id="footer" class="footer"> | |||
<div class="footer-inner"> | |||
{% include '_partials/footer.swig' %} | |||
{% include '_third-party/analytics/busuanzi-counter.swig' %} | |||
{% include '_third-party/analytics/analytics-width-widget.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.
Maybe simple analytics-widget.swig
?
@@ -1,3 +1,4 @@ | |||
{% include 'busuanzi-counter.swig' %} | |||
{% include 'facebook-sdk.swig' %} | |||
{% include 'vkontakte-api.swig' %} | |||
{% include 'google-analytics.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.
Also, if u move tencent
, cnzz
and other from index to widget, u must delete it from index, right?
@@ -0,0 +1,4 @@ | |||
{% include 'busuanzi-counter.swig' %} | |||
{% include 'busuanzi-counter.swig' %} | |||
{% include 'tencent-mta.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.
Are u tested tencent-mta.swig
? I'm not sure, what is visible widget. Please, test it to be sure and also need to test tencent.swig
.
@elkan1788 new comments added. Please, test it all (especially both |
@ivan-nginx So sorry about that. Now fixed the bugs and trim all analytics scripts: make sure the Tencent analytics script support widget find out in office website. |
@elkan1788 seems good. Good job and thanks! |
Upgrade jiathis share thirdpart plugin code template.