Skip to content

Commit

Permalink
Merge branch 'master' into adsense
Browse files Browse the repository at this point in the history
  • Loading branch information
removeif committed Apr 21, 2020
2 parents 405f147 + 3a58b56 commit c2fe29a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layout/comment/gitalk.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ module.exports = cacheComponent(Gitalk, 'comment.gitalk', props => {
const id = crypto.createHash('md5').update(helper.get_path_end_str(props.page.path, props.page.uniqueId, props.page.title)).digest('hex');

let canComments = props.page.comments;

return {
language: comment.language | __('article.comments_language'),
language: comment.language || __('article.comments_language'),
id,
repo: comment.repo,
owner: comment.owner,
Expand Down

0 comments on commit c2fe29a

Please sign in to comment.