mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
fixed via twitter bug
This commit is contained in:
parent
f8fb6b4036
commit
bcd0bdf359
2 changed files with 3 additions and 4 deletions
|
@ -25,10 +25,6 @@ Template[getTemplate('postContent')].helpers({
|
|||
},
|
||||
commentsDisplayText: function(){
|
||||
return this.comments == 1 ? i18n.t('comment') : i18n.t('comments');
|
||||
},
|
||||
|
||||
viaTwitter: function () {
|
||||
return !!getSetting('twitterAccount') ? 'via='+getSetting('twitterAccount') : '';
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
Template[getTemplate('postShare')].helpers({
|
||||
sourceLink: function(){
|
||||
return !!this.url ? this.url : getSiteUrl() + "posts/"+this._id;
|
||||
},
|
||||
viaTwitter: function () {
|
||||
return !!getSetting('twitterAccount') ? 'via='+getSetting('twitterAccount') : '';
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue