Commit graph

375 commits

Author SHA1 Message Date
Dillon
f4c9fe750d
fix(shortcode): style shortcode scss file path (#327) 2020-05-06 21:31:37 +08:00
Dillon
7dfa964d3f
feat(comment): add Utterances comment system (#317) 2020-05-04 20:28:27 +08:00
Dave A-W
67617b82dc
feat(profile): Add optional title above subtitle (#308) 2020-05-04 16:43:47 +08:00
Dave A-W
417851b1cd
fix(menu): hide divider when no menus (#307) 2020-05-04 15:24:40 +08:00
Dillon
4190c79491
fix(hugo): compatibility for Hugo basic version (#315) 2020-05-04 15:19:18 +08:00
Dillon
e4c71edddf
feat(typeit): add some config for TypeIt (#314) 2020-05-04 13:20:01 +08:00
Dave A-W
8c706548c7
feat(header): support header title typeit (#306) 2020-05-03 11:15:42 +08:00
Dillon
09a7c95362
fix(search): theme.js error when search is disabled (#310) 2020-05-03 11:06:10 +08:00
Dillon
971eff815c
feat(search): add absoluteURL config for search index (#302) 2020-05-01 23:54:29 +08:00
Dillon
e3e3bdf9ee
feat(rss): add rssFullText param for RSS (#301) 2020-05-01 23:29:24 +08:00
Dillon
5b689bf29b
fix(title): terms title error and change delimiter from "|" to "-" (#299) 2020-05-01 16:23:17 +08:00
Dillon
4191e046d8
feat(search): improve search index by rm line number in code block (#294)) 2020-05-01 00:05:38 +08:00
Dillon
3040ffa107
feat: improve browser compatibility for TypeIt and object-fit (#293)
* object-fit polyfill
* TypeIt 7.0.3 -> 6.5.1
2020-04-30 23:21:52 +08:00
Dillon
3096ff6235
feat(search): improve search index by chunked separated by h2 and h3 (#290) 2020-04-30 03:22:52 +08:00
Dillon
108679e137 feat(search): improve search index 2020-04-30 02:44:07 +08:00
Dillon
854e9e3d37 chore(lib): update mapbox-gl and valine 2020-04-30 01:49:33 +08:00
Dillon
286bf7003c chore(style): improve lightgallery style code 2020-04-29 23:54:27 +08:00
Dillon
56026f934d
fix(typeit): typeit code highlight (#284) 2020-04-29 19:52:31 +08:00
Dillon
fa4c567ac4
fix(header): header style and search dropdown (#282) 2020-04-29 15:40:57 +08:00
Dillon
16a4e94117
feat(search): add more params for search and improve search index (#279) 2020-04-29 02:34:28 +08:00
Dillon
2ccba79cba fix: search index content htmlEscape 2020-04-28 13:01:11 +08:00
Dillon
26381b498d feat(search): improve search index 2020-04-28 12:53:06 +08:00
Dillon
12546ba9bf
feat(valine): add more params for new valine (#272) 2020-04-28 03:24:48 +08:00
Dillon
d5bc3be19d
fix(git): build panic without git (#271) 2020-04-28 02:50:05 +08:00
Dillon
6805d695f6
chore: update docs and style (#269) 2020-04-28 01:38:22 +08:00
Dillon
b46c81053f
feat(twemoji): add support for twemoji (#264) 2020-04-27 02:27:26 +08:00
Dillon
fc46fba6aa
feat(style): improve style shortcode to support nesting (#263) 2020-04-27 01:19:23 +08:00
Dave A-W
f8b84de3f8
Support favicon color theming (#260) 2020-04-26 23:58:15 +08:00
Dmitry Kireev
c4741cfecb
Add permalink to a featured images on the home page (#261)
Co-authored-by: Dillon <dillonzq@outlook.com>
2020-04-26 23:15:47 +08:00
Dillon
19c7da333d
docs: update theme preview and translation (#262) 2020-04-26 23:00:29 +08:00
Dillon
bcbc4268ea
feat(code): add support for code block folding (#259) 2020-04-26 03:25:10 +08:00
Dillon
41a92c6166
feat(style): simplify blockquote style and rm fa-fw for fontawesome syntax (#257) 2020-04-25 02:05:43 +08:00
Dillon
7ab1c10639
chore(libs): update libs (#256) 2020-04-24 23:47:47 +08:00
Nir Galon
f588881216
feat(comments): add commento.io comment system (#255) 2020-04-24 23:28:47 +08:00
Dillon
c2197b7411
feat(social): improve social links (#254)
* replace forkawesome and iconfont with simple icons
* add more configs for social
2020-04-24 19:04:37 +08:00
Dillon
87fbb05e86
feat(header): add Logo, pre and post config for header title (#252) 2020-04-23 16:49:30 +08:00
Carlos Manuel Soares
919f559fd0
fix(SEO): some bad escape sequence in JSON-LD part 2 (#202)
* fix(SEO): some bad escape sequence in JSON-LD part 2

* fix(SEO): some bad escape sequence in JSON-LD Part 2

Co-authored-by: Dillon <dillonzq@outlook.com>
2020-04-23 01:31:22 +08:00
Dillon
d90a2d9406
fix: some title case bugs for section page and list page (#251) 2020-04-23 01:22:29 +08:00
Dillon
07b669c826
feat: add social link for RSS and some configs (#250) 2020-04-22 23:58:40 +08:00
Dillon
f5fb31ec43
fix: wrong URL of JS and CSS files on baseURL (#249) 2020-04-22 21:34:38 +08:00
Dillon
3c38d54a87
feat(home): add custom content for home page (#248) 2020-04-22 17:50:30 +08:00
Dillon
a0ab272f7d
fix: fix script CORS error (#246) 2020-04-22 01:00:51 +08:00
codedge
a5d0b9a3eb
Add fathom analytics (#200)
Co-authored-by: Dillon <dillonzq@outlook.com>
2020-04-21 23:37:05 +08:00
Dillon
f14301c395
feat: improve configuration (#245)
* feat: improve configuration

* fix: fix partials/footer.html error
2020-04-21 22:55:06 +08:00
Dillon
8a0e61085c
feat(code): add copy button for code (#239) 2020-04-18 20:54:54 +08:00
Dillon
9f37d7bc2a
feat(compatibility): add polyfill.io to improve compatibility (#236) 2020-04-17 00:25:42 +08:00
Dillon
bc97c099ac
feat(lib): add normalize.css lib (#235) 2020-04-16 23:51:05 +08:00
Dillon
c56f219b3e
fix(shortcode): fix new BV id for bilibili shortcode (#232) 2020-04-15 18:30:22 +08:00
Dillon
90184ca3e7
feat(search): add local search (#231)
* feat(search): add local search

* docs: add docs for search
2020-04-15 15:46:50 +08:00
Dillon
b6ce753ae7
feat(shortcodes): add width and height params for echarts shortc… (#192) 2020-03-21 20:52:12 +08:00
Dillon
aed8734d83
feat(shortcode): add mapbox shortcode (#190)
* feat(shortcode): add mapbox shortcode

* docs: split shortcodes into built-in shortcodes and extended shortcodes

* docs(shortcodes): add docs for mapbox shortcode

* docs(shortcodes): fix an error in shortcodes docs
2020-03-21 16:59:23 +08:00
Dillon
a9850f7df3
docs: improve version used for docs (#188) 2020-03-19 16:54:47 +08:00
Dillon
774e831a21
feat(shortcode): refactor and improve image shortcode (#187) 2020-03-19 12:35:37 +08:00
Dillon
84d48f37dc
feat(syntax): add fraction syntax (#181)
* feat(syntax): add fraction syntax

* docs: add remind for Hugo extended version
2020-03-18 00:52:36 +08:00
Dillon
01d814ef6f
feat(comment): add Telegram Comments support (#180) 2020-03-17 22:39:25 +08:00
Dillon
6b03c711ac
feat(shortcode): add link shortcode (#179)
* feat(shortcode): add link shortcode

* docs: add docs for link shortcode

* docs: fix 'mailto' in link shortcode docs error
2020-03-17 21:16:04 +08:00
Dillon
f9dba2e36c
fix(fontawesome): keep spaces on both sides of the fontawesome i… (#178) 2020-03-17 11:03:58 +08:00
Dillon
80db783396
feat(fixed-btns): add title for fixed buttons (#176) 2020-03-17 02:03:36 +08:00
Dillon
0ca8a4c85b
feat(home): add disclaimer under social links on home page (#175) 2020-03-17 01:03:08 +08:00
Dillon
41c2d3a38e
feat: add detection of the theme version and Hugo version (#173)
* feat: add detection of the theme version and Hugo version

* fix: hugo.IsProduction is incompatible in Hugo v0.62.0
2020-03-16 21:35:16 +08:00
Dillon
9a7189c2a3
feat(subtitle): add subtitle for posts (#171) 2020-03-16 16:14:37 +08:00
Dillon
6e091b6fad
feat(button): add 'comment' fixed button (#169) 2020-03-16 15:01:51 +08:00
Dillon
e4f81f9e7f
fix(style): auto width problem caused by too long tags or site t… (#168) 2020-03-16 11:32:47 +08:00
Dillon
212e67c2a5
feat(style): improve toc style (#167) 2020-03-16 10:59:51 +08:00
Dillon
344f2f809c
feat(style): adjust mobile TOC style (#155) 2020-03-15 00:39:23 +08:00
Dillon
92fc2bf74f fix(style): dark mode for mermaid and valine 2020-03-14 20:33:12 +08:00
Dillon
984e58ec0f fix(SEO): some bad escape sequence in JSON-LD 2020-03-14 15:43:58 +08:00
Dillon
3d9aad3205 feat(style): adjust style of header, tags and dynamic-to-top button 2020-03-14 14:42:12 +08:00
Dillon
9004e375fd fix(animation): lost animation 2020-03-11 00:50:06 +08:00
Dillon
629e2e5fda fix(comment): fix visitors count for valine 2020-03-10 17:10:45 +08:00
Dillon
12eb08427d fix(header): fix select label 2020-03-10 15:31:32 +08:00
Dillon
86c6972cf2 feat(comment): add enable for disqus and gitalk 2020-03-10 11:50:07 +08:00
Dillon
fbf7a3caf1 fix(list): fix list title humanize bug 2020-03-10 03:51:26 +08:00
Dillon
fb9a9e7324 docs: update zh-CN docs and fix some bugs 2020-03-10 03:33:28 +08:00
Dillon
26727fd193 feat(style): improve style for header and image 2020-03-09 22:19:14 +08:00
Dillon
b1990d00c4 fix(image): some image style bug 2020-03-09 21:30:08 +08:00
Dillon
924692a07e feat(assets): add SRI config for stylesheet and script 2020-03-09 20:25:55 +08:00
Dillon
296424cded feature(doc): complete all Chinese and English documents and fix many bugs 2020-03-08 21:02:21 +08:00
Dillon
cedd6f17a2 fix(i18n): fix mobile i18n link error and zh -> zh-CN 2020-03-04 11:55:33 +08:00
Dillon
66b76b599b fix(git): git info in footer 2020-03-04 01:27:30 +08:00
Dillon
1d1cae6382 feat(i18n): add select-menu for i18n 2020-03-04 00:41:14 +08:00
Dillon
cbfc965c10 chore(i18n): fix i18n files 2020-03-03 22:25:48 +08:00
Dillon
c7e389c25a feat(style): add some custom styles 2020-03-03 21:57:30 +08:00
Dillon
285efc01bb feat(environment): use hugo.Environment to judge the production environment 2020-03-02 17:03:35 +08:00
Dillon
f8a7fd1df9 feat(shortcodes): replace [align]/[float] with [style] and add [style] 2020-03-02 16:47:28 +08:00
Dillon
61d2bd49b9
Merge branch 'develop' into feature/lightgallery 2020-02-27 20:17:09 +08:00
Dillon
ae81e3767e fix(srcatch): fix srcatch bugs 2020-02-27 20:14:40 +08:00
libo
669038758e fix: checkbox checked status opposite 2020-02-24 22:28:00 +08:00
Dillon
0dc5feb7f3 chore(lib): remove ls.native-loading 2020-02-24 20:45:13 +08:00
Dillon
7e56922f82 chore(lib): update mermaid 8.4.2 -> 8.4.8 echarts 4.5.0 -> 4.6.0 gitalk 1.5.0 -> 1.6.0 2020-02-24 20:34:00 +08:00
Dillon
ef88651fe4 chore(lib): refactor libs and update Font Awesome 5.11.2 -> 5.12.1 2020-02-24 17:53:08 +08:00
Dillon
72a2e9bdcf feat(image): add image lightgallery 2020-02-24 17:00:39 +08:00
Dillon
850e8f380e fix(summary): use description as summary when summary is empty 2020-02-22 01:14:01 +08:00
Dillon
c8fee1783a feat(toc): support fontawesome and ruby in TOC 2020-02-22 00:34:44 +08:00
Dillon
4e6fe224cc chore(partials): refactor partials 2020-02-21 23:42:35 +08:00
Dillon
a0f31c35fe fix(link): fix tags/categories link bug 2020-02-21 12:49:55 +08:00
Dillon
a4116f14a7 fix(toc): fix toc link bug 2020-02-21 11:11:56 +08:00
Dillon
41a14bc2dc chore(style): update css code style 2020-02-20 16:58:20 +08:00
Dillon
315eb094e5 Squashed commit of the following:
commit 6430e78c16
Merge: 5855527 b13bbc3
Author: Dillon <dillonzq@outlook.com>
Date:   Wed Feb 19 19:31:28 2020 +0800

    Merge pull request #84 from dillonzq/fix/duplicated_typeit

    fix(typeit): fix duplicated typeit bug (#82)

commit b13bbc368c
Author: Dillon <dillonzq@outlook.com>
Date:   Wed Feb 19 19:25:49 2020 +0800

    fix(typeit): fix duplicated typeit bug (#82)

commit 58555274f5
Merge: 16320fa 02919a7
Author: Dillon <dillonzq@outlook.com>
Date:   Wed Feb 19 18:59:21 2020 +0800

    Merge pull request #83 from dillonzq/fix/social_link_href

    fix(social): fix social link bug (#81)

commit 02919a7d48
Author: Dillon <dillonzq@outlook.com>
Date:   Wed Feb 19 18:55:40 2020 +0800

    fix(social): fix social link bug (#81)
2020-02-20 11:55:52 +08:00
Dillon
f3eb6fc520 fix(style): fix active header menu item 2020-02-20 11:52:13 +08:00
Dillon
20c9c812d0 feat(exampleSite): merge en and zh exampleSite 2020-02-19 18:48:37 +08:00
Dillon
4b3addf634 fix(check): fix some html check bugs 2020-02-18 16:22:24 +08:00
Dillon
434f8fa676 feature(share): support 28 kinds of share links 2020-02-18 02:53:07 +08:00
Dillon
edc53d7cd1 feat(social): add bilibili social config 2020-02-17 21:31:53 +08:00
Dillon
933e32c4e4 chore(forkawesome): update forkawesome css 2020-02-17 21:02:27 +08:00
Dillon
a276661f0a feat(home): improve default behavior of hiddenFromHomePage 2020-02-17 12:44:04 +08:00
Dillon
dd78d80fef chore(config): update config name 2020-02-17 02:32:52 +08:00
Dillon
5a1e0b5d31 feature(config): add config for home profile/posts 2020-02-17 02:19:55 +08:00
Dillon
d87af71176 chore(hook): add babel pre-commit hook 2020-02-17 00:41:08 +08:00
Dillon
88576721cc feature(header): add header config 2020-02-16 20:36:36 +08:00
Dillon
69688661f4 chore(header): remove all dummy-targets and update smooth scroll 2020-02-16 16:42:14 +08:00
Dillon
2f8123bfa6 chore(deps): remove jQuery 2020-02-16 03:03:18 +08:00
Dillon
b9c7510260 feat(valine): add valine dark theme 2020-02-15 00:38:15 +08:00
Dillon
73b1250cbf chore: refactor css code style 2020-02-14 22:07:46 +08:00
Dillon
1088f86b6d chore: refactor scripts code style 2020-02-14 21:09:21 +08:00
Dillon
12bd1e1935 chore: refactor code style 2020-02-14 01:30:33 +08:00
Dillon
917cf4a427 fix(link): fix long words and URLs style bug 2020-02-13 13:30:58 +08:00
Dillon
88273f439a feat(theme): add detecting system dark mode to set site theme
add "auto" config in default theme, which detecting system dark mode to set site theme
2020-02-11 21:40:58 +08:00
Dillon
2417effc05 feat(comments): improve comments and add valine config meta 2020-02-11 21:10:09 +08:00
Dillon
39f4869260 fix(scripts): fix jsonify bug 2020-02-09 16:46:46 +08:00
Dillon
095089fb3f feat(config): add config for default theme light/dark 2020-02-08 22:19:22 +08:00
Dillon
715cb005c9 feat(socal): add support for custom MastodonPrefix 2020-02-08 19:56:42 +08:00
Dillon
a2543e673d fix(fork_awesome): fix incompatibility of Fork Awesome and Font Awesome 2020-02-08 17:28:02 +08:00
Dillon
a20700595d fix(scripts): fix CDN not work bug 2020-02-07 21:42:47 +08:00
Dillon
61250a0ae4
Merge pull request #50 from Fedomn/master
fix(template): fix TypeIt CDN configuration not work issue.
2020-02-07 21:31:53 +08:00
Fedomn
4879878de7 fix(template): fix the with function rebinds context issue that result in TypeIt cdn configuration not work. 2020-02-07 12:45:38 +08:00
Dillon
4c452aae12 feat(css): add local fork-awesome css 2020-02-07 00:10:00 +08:00
Dillon
6d7e6ea9ee
Update social.html 2020-02-06 21:47:10 +08:00
t404notfound
10694c4840
Add Gitea, XMPP, Matrix icon to Social icons 2020-02-06 05:57:38 +00:00
Dillon
62eec21fb2
Merge branch 'master' into opengraph 2020-02-05 21:56:39 +08:00
Dillon
8cd7e8d672 feat(menu): add menu pre 2020-02-04 02:19:05 +08:00
Dillon
097473ef2a fix(music): fix music shortcode 2020-02-04 01:55:24 +08:00
Dillon
d8854c7e47 chore(archetype): rename show_description to description_as_summary 2020-02-03 23:27:54 +08:00
Dillon
495f7e651f feat(checkbox): change checkbox style 2020-02-03 22:56:49 +08:00
Dillon
d605de7f06 feat(KaTeX): add copy-tex and mhchem for KaTeX 2020-02-03 21:40:23 +08:00
Dillon
77d2decf86 fix(image): fix image safeURL bug 2020-02-03 20:47:49 +08:00
Dillon
52c7ad29a6 chore(style): update code style and add an i18n word 2020-02-03 18:38:10 +08:00
Dillon
8aba226290 feat(partial): add hook and image partial 2020-02-03 11:46:30 +08:00
Programazing
0a2e9a7e6a Add OpenGraph to Head 2020-02-02 20:58:07 -05:00
Dillon
b91ca3d61a feat(css): add admonition css variable 2020-02-02 21:07:38 +08:00
Dillon
17bbe91c6f feat(404): update 404.html style 2020-02-02 18:18:06 +08:00
Dillon
517b734347 feat(custom-css): new custom css 2020-02-02 14:43:29 +08:00
Dillon
437ef95e14 feat(exampleSite): add some posts to exampleSite 2020-02-01 19:47:58 +08:00
Dillon
8aa4b6dce6 feat(author): add author_link and fix highlight bug 2020-02-01 01:52:27 +08:00
Dillon
2a7611b5ae chore(style): update code style 2020-01-31 22:53:04 +08:00
Dillon
344f0a9f41 fix(css): fix some css bugs 2020-01-31 18:46:28 +08:00
Dillon
7e6236361f feat(i18n): add switchTheme i18n 2020-01-30 13:17:42 +08:00
Dillon
4eb9e6d17b
Revert "Fix the formulas bug, make it inline possible" 2020-01-30 12:56:22 +08:00
Dillon
6736670d10 feat(countdown): add style para for countdown shortcode 2020-01-30 00:54:03 +08:00
Dillon
14045099f0 fix(css): fix css code style 2020-01-30 00:20:09 +08:00