doc: update inject code

This commit is contained in:
Leon Xu committed 2021-07-17 11:50:19 -07:00
1 parent debd156659
commit b506b907af
1 file changed
+3 -2
+3 -2
View File
@@ -836,9 +836,10 @@ css_prefix: true
# 插入代码到头部 </head> 之前 和 底部 </body> 之前
inject:
head:
# - <link rel="stylesheet" href="/xxx.css">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/l-lin/font-awesome-animation/dist/font-awesome-animation.min.css" media="defer" onload="this.media='all'"> #动画标签anima的依赖
bottom:
# - <script src="xxxx"></script>
- <script defer src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script>
- <script defer src="https://cdn.jsdelivr.net/npm/hexo-theme-volantis@latest/source/js/issues.min.js"></script>
# CDN
# Don't modify the following settings unless you know how they work