Commit graph

88 commits

Author SHA1 Message Date
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
bc97c099ac
feat(lib): add normalize.css lib (#235) 2020-04-16 23:51:05 +08:00
Dillon
6dcb8ce338 Merge branch 'master' into develop
# Conflicts:
#	assets/css/_variables.scss
#	package-lock.json
#	package.json
2020-04-15 19:09:54 +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
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
ee1c5c22bc
feat(style): add header title style config (#170) 2020-03-16 15:36:56 +08:00
Dillon
6e091b6fad
feat(button): add 'comment' fixed button (#169) 2020-03-16 15:01:51 +08:00
Dillon
371150ceef fix(style): dark mode for valine 2020-03-16 12:15:21 +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
bf7c4b5173
fix(style): social link style error (#162) 2020-03-15 18:05:17 +08:00
Dillon
7dbe1f83a2
chore(docs): update theme preview (#160) 2020-03-15 16:31:16 +08:00
Dillon
ca0996ab11
fix(style): style conflict between 'strong' and 'a' tag (#156) 2020-03-15 00:56:57 +08:00
Dillon
344f2f809c
feat(style): adjust mobile TOC style (#155) 2020-03-15 00:39:23 +08:00
Dillon
fc10c46d37
fix(toc): unwanted arrow of mobile TOC in Firefox (#154) 2020-03-14 23:17:49 +08:00
Dillon
61d76c54b4
docs: update theme preview image and fix some docs error (#151) 2020-03-14 21:47:51 +08:00
Dillon
92fc2bf74f fix(style): dark mode for mermaid and valine 2020-03-14 20:33:12 +08:00
Dillon
e4e005d6fd fix(style): gist shortcode dark mode style 2020-03-14 17:29:39 +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
a4878c3e63 fix(style): fix title style 2020-03-10 20:33:37 +08:00
Dillon
d94c5f1258 chore(comment): add Valine config for exampleSite 2020-03-10 12:37:28 +08:00
Dillon
7f228d6134 fix(typeit): fix a TypeIt header link style bug 2020-03-10 03:37:27 +08:00
Dillon
26727fd193 feat(style): improve style for header and image 2020-03-09 22:19:14 +08:00
Dillon
1894403794 feat(toc): add custom TOC font size 2020-03-09 21:56:17 +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
9ed9db5ba3 Merge branch 'develop' into feature/document
# Conflicts:
#	assets/css/_core/_base.scss
#	resources/_gen/assets/scss/css/style.template.scss_40942e46c3aa444eabf479d066570690.content
#	resources/_gen/assets/scss/css/style.template.scss_40942e46c3aa444eabf479d066570690.json
2020-03-04 01:34:29 +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
c7e389c25a feat(style): add some custom styles 2020-03-03 21:57:30 +08:00
Dillon
54a99205d7 chore(doc): add English "Theme Documentation - Basics" 2020-03-03 21:35:14 +08:00
Dillon
f8a7fd1df9 feat(shortcodes): replace [align]/[float] with [style] and add [style] 2020-03-02 16:47:28 +08:00
Dillon
ae81e3767e fix(srcatch): fix srcatch bugs 2020-02-27 20:14:40 +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
72a2e9bdcf feat(image): add image lightgallery 2020-02-24 17:00:39 +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