Skip to content

Commit 78a2dc9

Browse files
committed
Add priority
1 parent 2148c47 commit 78a2dc9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ utteranc:
2020
# theme: github-light,github-dark,github-dark-orange
2121
theme: github-light
2222
cdn: https://utteranc.es/client.js
23+
# If you want to modify priority, please config in **hexo**
24+
#priority:
2325
```
2426

2527
Thank TrumanDu's [PR764](https://github.com/theme-next/hexo-theme-next/pull/764)

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ hexo.extend.filter.register('theme_inject', function(injects) {
2424

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

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

0 commit comments

Comments
 (0)