140 Commits

Author SHA1 Message Date
Mimi
0834d1ce01 Fix class name of disqusjs
* The class name of comment-button is also disqusjs
2023-01-01 21:09:18 +08:00
Mudkip
c3005037ac
Add rel="me" to social links (#605) 2022-12-24 01:35:25 +08:00
Mimi
aa6da25f89
Improve accessibility (#597) 2022-11-21 15:19:44 +08:00
Mimi
9acfa7e21a Fix typo 2022-11-18 14:10:52 +08:00
Mimi
6a4ee1d180 Update padding of note tag 2022-11-16 16:11:03 +08:00
Mimi
179176e3ed Remove widgetpack rating 2022-11-12 11:53:15 +08:00
Mimi
6e47bd6887 Display banner only when hexo g or hexo d 2022-11-08 17:05:38 +08:00
Yanick.xia
1d7daf7480
Add changyan count configuration (#570) 2022-10-01 21:08:56 +08:00
Mimi
8876fe6238
Upgrade to disqusjs@3 (#529) 2022-08-25 00:26:22 +08:00
Jinzhe Zeng
250a5c851d
Minify algolia logo if not enabled (#514) 2022-05-22 01:58:22 +08:00
Mimi
c7c13fdd6c
Optimize the position of copy-button (#508) 2022-05-22 01:57:50 +08:00
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