Commit graph

309 commits

Author SHA1 Message Date
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
9004e375fd fix(animation): lost animation 2020-03-11 00:50:06 +08:00
Dillon
a4878c3e63 fix(style): fix title style 2020-03-10 20:33:37 +08:00
Dillon
5d377ee746 chore(lib): update gitalk 1.6.0 -> 1.6.2 2020-03-10 11:58:24 +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
836fe1612f feat(speed): improve loading speed of static resource 2020-03-09 21:14:12 +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
b1f2de1987 Merge branch 'develop' into feature/document 2020-03-04 11:57:23 +08:00
Dillon
cedd6f17a2 fix(i18n): fix mobile i18n link error and zh -> zh-CN 2020-03-04 11:55:33 +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
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
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
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
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
f629b6217b feat(style): update toc link color style 2020-02-16 22:01:47 +08:00
Dillon
88576721cc feature(header): add header config 2020-02-16 20:36:36 +08:00
Dillon
d25cbf6cb6 chore(js): update typeit.js to v6.5.1 2020-02-16 16:59:54 +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
730ce7a1ca fix(header): fix mobile header height 2020-02-15 01:42:31 +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
3ce7711608
Merge pull request #60 from Fedomn/develop
fix(toc): fix inaccurate headerLinkTop calculation
2020-02-11 15:29:30 +08:00
Dillon
f87a8de858
update blog.js
remove HEADERFIX for headerDummyLink
2020-02-11 15:22:22 +08:00
Dillon
46eb00f784 fix(style): fix summary font-size and padding style 2020-02-10 22:53:12 +08:00
Dillon
3b833daa30 fix(style): fix summary height 2020-02-10 22:16:30 +08:00
Dillon
aa01ececa0 feat(highlight): improve syntax style 2020-02-10 20:34:57 +08:00
Fedomn
440051ec80 fix(toc): fix inaccurate headerLinkTop calculation that result in activeTocIndex drift. 2020-02-09 10:27:30 +08:00
Dillon
095089fb3f feat(config): add config for default theme light/dark 2020-02-08 22:19:22 +08:00
Dillon
a2543e673d fix(fork_awesome): fix incompatibility of Fork Awesome and Font Awesome 2020-02-08 17:28:02 +08:00
Dillon
a4562eb839 fix: custom css 2020-02-07 21:51:38 +08:00
Dillon
4c452aae12 feat(css): add local fork-awesome css 2020-02-07 00:10:00 +08:00
Dillon
097473ef2a fix(music): fix music shortcode 2020-02-04 01:55:24 +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
8aba226290 feat(partial): add hook and image partial 2020-02-03 11:46:30 +08: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
4ada41fe00 fix(img): fix loading image size bug 2020-01-30 12:35:34 +08:00
Dillon
eb1daf1619 fix(aplayer): fix aplayer dark style 2020-01-30 01:36:34 +08:00
Dillon
14045099f0 fix(css): fix css code style 2020-01-30 00:20:09 +08:00
Dillon
c8e612b888 feat(aplayer): add dark-mode for APlayer and fix Typeit bug 2020-01-29 22:16:50 +08:00
Dillon ZENG
5537e2ccef Merge branch 'master' into dev 2020-01-29 19:05:42 +08:00
Dillon ZENG
cd1a058763 fix(css): fix css code style 2020-01-29 19:00:56 +08:00
Dillon
edfa5a5117
add <br/> in comments.html (#5)
add <br/> in comments.html
2020-01-29 18:52:42 +08:00
Akio Taniguchi
79413217b5 Move asset font files to static 2019-12-01 21:51:04 +09:00
hhaiyun
7ed4b4c61c fix css and add a note in README 2019-11-27 14:43:38 +08:00
Dillon ZENG
2578aba9ca feat(mermaid): improve mermaid style and render 2019-11-24 01:10:17 +08:00
Dillon ZENG
b97cd8cdbc feat(layout): add animation for title and some style changed 2019-11-23 16:22:42 +08:00
Dillon ZENG
d056fd46d7 feat(lib): update mermaid to v8.4.2, echarts to v4.5.0, typeit to v6.1.1(modern) 2019-11-23 15:26:15 +08:00
Dillon
789bd994ff
Merge pull request #1 from onisuly/master
Fix Gitalk js file path mismatch issue.
2019-11-20 16:16:21 +08:00
Dillon
e8ee57c295 feat(lib): upgrade libs and fix exampleSite bugs 2019-11-20 15:58:41 +08:00
onisuly
78155c99e0 Fix Gitalk js file path mismatch issue. 2019-11-17 22:56:06 +08:00
Dillon
69068c7cfc feat: update style / exampleSite files and compatible with Hugo 0.58 2019-09-29 15:56:11 +08:00
Dillon
42d50ae53c feat: update style and exampleSite files 2019-08-27 01:15:00 +08:00
Dillon
45c9281131 fix: fix icon css bug 2019-08-26 15:17:21 +08:00
Dillon
af3161fff6 feat: add en/zh README and exampleSite files 2019-08-26 02:25:56 +08:00
Dillon
4ce4029715 fix: fix css bug 2019-08-25 00:44:21 +08:00
Dillon
9d2e810b44 fix: fix toc css bug 2019-08-25 00:14:21 +08:00
Dillon
4f2ff40ef9 fix: fix toc css bug 2019-08-24 23:41:57 +08:00
Dillon
5cc4fdbe46 feat: tidy style and layout 2019-08-24 19:32:41 +08:00
Dillon
c8bb0770e9 fix: fix css and js cros bug 2019-08-23 02:54:26 +08:00
Dillon
934c3a5156 feat: faster, support custom lib cdn and more standardized code style 2019-08-23 02:01:22 +08:00
Dillon
f1ec275c9f fix: fix iPad TOC orientation css bug 2019-08-22 04:52:29 +08:00
Dillon
99d52daf69 fix: fix iPad TOC orientation css bug 2019-08-22 04:29:39 +08:00
Dillon
0788330819 fix: fix screen-splash bug under dark theme and orientationchange bug 2019-08-22 04:01:02 +08:00
Dillon
a46456ef0a feat: new style fix nav 2019-08-22 01:22:33 +08:00
Dillon
87857b2002 fix: fix iPad TOC orientation css bug 2019-08-22 00:32:52 +08:00
Dillon
f64c499957 fix: mobile-toc target offset 2019-08-20 12:15:40 +08:00
Dillon
1dc227f304 fix: fix toc css bug 2019-08-20 03:32:12 +08:00
Dillon
3d8efd6319 feat: new mobile toc 2019-08-20 03:01:15 +08:00
Dillon
f4cda2e602 feat: fit new themefix: fix style bugfix: fix style bug 2019-08-19 23:37:10 +08:00
Dillon
bf7d694151 fix: fix style bug 2019-08-19 23:24:29 +08:00
Dillon
41a885eba0 fix: fix style bug 2019-08-19 23:00:26 +08:00
Dillon
6d0116b883 fix: mobile nav backgroud and new style 2019-08-19 21:14:15 +08:00
Dillon
dcbc7547fc feat: new style update 2019-08-19 13:26:39 +08:00
Dillon
ee7c7549b5 feat: new index and style update 2019-08-19 01:36:52 +08:00
Dillon
6981f1e285 feat: add bilibili diagram echarts and improve style 2019-08-17 23:16:09 +08:00
Dillon
8261719a6f fix: fix css bug 2019-08-17 04:09:41 +08:00
Dillon
2653f1bc7c feat: fontawesome, admonition and faster 2019-08-17 03:40:34 +08:00
Dillon
9e08c96b10 fix: rm a hover underline 2019-08-12 01:46:26 +08:00
Dillon
9433736ede feat: new style and faster 2019-08-12 01:36:19 +08:00
Dillon ZENG
c0237f3805 fix: smarter typeit shortcode 2019-08-11 04:08:20 +08:00
Dillon ZENG
a6bf8d8eae feat: smarter typeit shortcode 2019-08-11 03:26:03 +08:00
Dillon
c16db324fa chore: format code 2019-08-09 21:25:13 +08:00
Dillon ZENG
0e48c9f3e3 add format and music shortcode 2019-08-09 01:54:09 +08:00
Dillon ZENG
0b85b03f62 feat: add TypeIt and CountDown 2019-08-08 05:01:18 +08:00
Dillon
cf4b33aed3 feat: CDN for public js lib 2019-08-07 12:31:14 +08:00
Dillon ZENG
c67a2a86a1 feat: impove i18n and clean code 2019-08-04 21:53:35 +08:00
Giuseppe Pignataro
0181a08d41 Added reading time icon 2019-03-24 19:17:06 +01:00
Giuseppe Pignataro
f4b7ae5c30 Added Thingiverse social link 2019-03-24 10:18:52 +01:00
Giuseppe Pignataro
0526b4b5b2 Added mastodon social link 2019-03-24 09:09:29 +01:00
Giuseppe Pignataro
b925b96ef9 Added more social link
Added link to Google Scholar and Researchgate
2019-03-24 08:37:58 +01:00
Giuseppe Pignataro
4ced87a027 Added more social links
Added more social links
AngelList, Slideshare, Jsfiddle, Deviantart, Behance, Dribble, Wordpress, Vine
2019-03-18 20:10:04 +01:00
Giuseppe Pignataro
94ed00ab04 Fixed issue #14
Fixed a bug that give problems with the visualization of the Roboto font.
2019-03-17 17:58:35 +01:00
Giuseppe Pignataro
586427d31f Added Zhihu and Douban icons
Added  Zhihu and Douban icons
2019-03-17 01:45:53 +01:00
Giuseppe Pignataro
7ad9a436c9 Minor changes
Removed license style to make all more coherent
2019-03-17 00:14:22 +01:00
Giuseppe Pignataro
2ce78f802c Added more social
Added more social links:
 Goodreads, Lastfm, Foursquare, Hackernews, Kickstarter, Patreon, Steam, Twitch, Strava, Skype, Whatsapp
2019-03-14 15:45:24 +01:00
Giuseppe Pignataro
3dd6c19127 Added more social
Added mix
2019-03-14 11:06:21 +01:00
Giuseppe Pignataro
0ed3dd53cd Added more socials
Added support for Xing, Snapchat, Soundcloud, Spotify, Bandcamp, Paypal, 500px
2019-03-14 00:32:04 +01:00
Giuseppe Pignataro
274ee9b742 Added more social
Added more social link:
* Odnoklassniki (ok.ru)
* VKontakte
* Flickr
2019-03-11 16:24:47 +01:00
Giuseppe Pignataro
5dadc8240b Updated lazysizes to 4.1.6
Updated lazysizes from 4.1.2 to 4.1.6
2019-03-11 15:10:52 +01:00
Giuseppe Pignataro
8e82f98028 Merge remote-tracking branch 'origin/master' 2019-03-11 15:05:46 +01:00
Giuseppe Pignataro
d85784c9c9 Removed emoji in the tab
Removed the emoji when the tab is on blur and now show the current title
2019-03-11 15:05:27 +01:00
Fastbyte01
2640d00f5c Added Weibo
Added Weibo social link and related icon
2019-03-09 18:33:34 +01:00
Fastbyte01
83216738f4 fixed blockquote problem
Fixed the problem with blockquote that dosn't show correctly on dark theme
2019-03-09 18:25:20 +01:00
Giuseppe Pignataro
97496833bb Added BitBucket and StackOverflow
Added the bitbucket and stackoverflow icons and social links
2019-02-26 15:28:37 +01:00
Giuseppe Pignataro
5078cf6057 New Icons 2019-02-26 00:23:18 +01:00
Giuseppe Pignataro
a8a6c91421 Initial Commit 2019-02-03 12:30:44 +01:00