Skip to content

Commit

Permalink
Add priority
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtj committed Aug 3, 2019
1 parent 2148c47 commit 78a2dc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ utteranc:
# theme: github-light,github-dark,github-dark-orange
theme: github-light
cdn: https://utteranc.es/client.js
# If you want to modify priority, please config in **hexo**
#priority:
```

Thank TrumanDu's [PR764](https://github.com/theme-next/hexo-theme-next/pull/764)
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ hexo.extend.filter.register('theme_inject', function(injects) {

injects.style.push(utils.getFilePath('utteranc.styl'));

});
}, (hexo.config.utteranc||{}).priority);

0 comments on commit 78a2dc9

Please sign in to comment.