129 Commits

Author SHA1 Message Date
Mimi
d932e308d4 Update docs & warning 2022-05-22 01:56:24 +08:00
Mimi
431540f4a0 Fix null custom_cdn_url 2022-05-11 16:13:40 +08:00
Dylan Zhang
46f6efce94
Fix preconnect config for venders with custom cdn (#506)
Co-authored-by: Ljcbaby <46277145+ljcbaby@users.noreply.github.com>
2022-04-29 13:43:46 +08:00
Mimi
4de8a1d4ec Update RegExp 2022-03-31 12:36:07 +08:00
Mimi
edf3675f32 Support linebreaks inside a and img elements
* See: https://github.com/next-theme/hexo-theme-next/issues/497
2022-03-30 18:38:14 +08:00
Mimi
968ac54906 All plugins are available on CDNJS 2022-03-27 15:07:17 +08:00
Mimi
b762f8723a Replace deprecated String.prototype.substr() 2022-03-20 17:11:07 +08:00
Mimi
e16688573b
Refactor sub-menu (#492) 2022-03-18 16:42:42 +08:00
Mimi
bd69da6470 Update next_js helper 2022-03-07 15:52:16 +08:00
Mimi
2094a764d6 Optimize CSS parser 2022-02-07 11:29:21 +08:00
Ljcbaby
d737534236
Enable meta_generator (#449) 2022-01-26 00:54:17 +08:00
Ljcbaby
8b4b4004c1
Add back theme.js (#439)
* fix theme.js
* add preconnect support
2022-01-24 13:14:14 +08:00
Ljcbaby
f860dcebc2
Add tidio integration in minify.js (#435) 2022-01-15 02:04:54 +08:00
Liu Can
0ed5fff721
Optimize changyan comment (#415) 2022-01-01 03:46:02 +08:00
Mimi
3dca98b7cf
Custom CDN options (#428) 2022-01-01 03:44:47 +08:00
Mimi
8e3ec267e0 Fix the index of group picture layout 2021-11-28 13:45:13 +08:00
Mimi
292b8a258e New method NexT.utils.activateSidebarPanel
* See: https://github.com/next-theme/hexo-theme-next/issues/368
2021-09-13 14:33:41 +08:00
Mimi
debbe5bdc9 Fix darkmode mermaid theme
* See: https://github.com/next-theme/hexo-theme-next/issues/331
2021-09-08 23:53:23 +08:00
Mimi
0005c0367f Do not restart Pace on every pushState event
* See: https://github.com/next-theme/hexo-theme-next/issues/362
2021-09-08 11:16:31 +08:00
Mimi
d1bf101cc1 Execute unescapeHTML before encoding exturl
* See: https://github.com/next-theme/hexo-theme-next/issues/364
2021-09-08 00:28:06 +08:00
Mimi
9a313b23c3 Add an option to disable banner 2021-09-07 21:12:28 +08:00
Mimi
61048546ca
Make the nav bar of tabs stick to the top (#361) 2021-09-02 23:40:06 +08:00
Mimi
30848e9486
Add pace-js (#352) 2021-08-30 13:19:50 +08:00
Mimi
2eaf869e89 Separate fancybox scripts 2021-08-30 01:01:26 +08:00
566238d06f
Escape only < in front-end json (#294) 2021-06-18 13:29:08 +08:00
81f716d289
Add gitter integration in minify.js (#300) 2021-06-18 13:28:04 +08:00
Mimi
2ea722f0ed Code style update 2021-06-06 01:14:28 +08:00
Mimi
baf5e02b74
Load Creative Commons badge via CDN (#267) 2021-05-18 01:25:16 +08:00
Mimi
4dbcfb3ea4 Fix vendors being processed multiple times 2021-05-17 13:07:46 +08:00
Mimi
eb59f7f694 Improve test coverage 2021-05-05 00:03:10 +08:00
Mimi
54b32d7f4b
Subresource Integrity (#247) 2021-05-03 10:57:11 +08:00
Mimi
f21fff4f8c Update docs 2021-05-03 01:34:05 +08:00
Jinzhe Zeng
959e100298
Remove internal scripts if minify is true and the CDN provider is not local (#251) 2021-04-30 11:47:34 +08:00
Mimi
eefc25de1a Use String.prototype.matchAll 2021-04-30 02:50:18 +08:00
a66b93036c
Separate third party inline scripts (#241) 2021-04-11 00:46:18 +08:00
662dd80fc5
Minor fixes on #226 (#240)
* Fix head inject point

* Switch `.link-grid-image` to `<img>`

* Switch `.link-grid-image` back to `<object>`

- Set `type` to `image/jpeg` for image without file extension
2021-04-05 17:16:49 +08:00
6b23d42930
Separate inline scripts and styles into single files (#226) 2021-04-01 15:44:51 +08:00
Mimi
9ef3a63552 Fix mermaid preformatted issue
* See: https://github.com/theme-next/hexo-theme-next/pull/1539

* See: 376d71878f

* See: https://github.com/next-theme/hexo-theme-next/issues/211
2021-03-29 10:58:23 +08:00
Jinzhe Zeng
44b0d08a41
Use minified js files for jsdelivr and cdnjs (#207) 2021-02-17 11:58:55 +08:00
小柚子
7821062db1
Add exturl icon option (#192) 2021-02-17 11:56:05 +08:00
小柚子
3a1b30afee
Fix exturl title (#193) 2021-02-08 15:05:39 +08:00
Mimi
51ef7217a1 Update docs 2021-01-30 15:31:43 +08:00
小柚子
641c310554
Explicitly use HTTPS for Vendors (#187) 2021-01-24 20:55:38 +08:00
Mimi
278e160f4d Use yaml.load 2021-01-03 23:19:50 +08:00
Mimi
d6f7c51f6c Simplify the .comments element 2020-12-27 14:44:19 +08:00
Mimi
d3dc791145 Fix illegal character in query
* See: https://www.ietf.org/rfc/rfc1738.txt
2020-12-22 15:19:52 +08:00
Mimi
589fc8721e Use Hexo integrated nunjucks renderer 2020-12-03 22:22:26 +08:00
Artin
851bf27836
Fix not loading disqusjs (#150) 2020-12-02 15:21:09 +08:00
Mimi
20002f2d2a Code style update 2020-12-01 10:12:41 +08:00
Mimi
6c94cfb45f Remove Valine 2020-12-01 10:11:58 +08:00