Commit graph

42 commits

Author SHA1 Message Date
panda-z
7dfedd3440
feat(mathjax): upgrade to 3.0.5 (#270) 2020-09-11 00:04:59 +08:00
panda-z
f6a183a5c3
feat(scripts): only enable google analytics in production environment (#260)
Should set env to production, e.g.: `hugo serve -e production`

Default environments are **development** with `hugo serve` and **production** with `hugo`.
2020-05-12 22:27:09 +08:00
Florian La Roche
50aa3f8d55
feat(layout): minify script (#258)
Patch taken from 60633a072e
2020-05-06 09:05:09 +08:00
Florian La Roche
fa5f2aed89
refactor(resources): use relative links (#245) 2020-04-20 02:10:40 +08:00
panda-z
5657112dfb
chore(build): drop webpack and use Hugo Pipes (#130) 2020-04-13 21:18:35 +08:00
panda-z
915174fdba feat(scripts): disable google analytics on localhost (#123) 2019-01-05 22:08:34 +08:00
olOwOlo
416ff89658
refactor(mathjax): cdn jsdelivr
Closes #82
2018-11-05 16:27:06 +08:00
olOwOlo
5e356c5f63
style(*): google js style & trim whitespace 2018-07-10 01:41:34 +08:00
olOwOlo
77101032aa
feat(highlight): add support for chroma
BREAKING CHANGE: You need add params to enable `chroma` or `highlight.js` since they are disabled by default.
2018-07-10 00:49:20 +08:00
olOwOlo
619a42053f
chore(build): yarn & webpack 4 & path & assets.json 2018-07-09 15:12:02 +08:00
olOwOlo
fcb48d9be0
refactor(param): camelcase for parameter names
BREAKING CHANGE: Rename parameter names.

    | origin   | now      |
    | :------: |:--------:|
    | fancyboxJ**s** | fancyboxJ**S** |
    | fancyboxC**ss**| fancyboxC**SS**|
    | baidu_push | baidu**P**ush |
    | baidu_analytics | baidu**A**nalytics |
    | baidu_verification | baidu**V**erification |
    | google_verification | google**V**erification |
2018-07-06 22:50:37 +08:00
olOwOlo
a3cab1a354
feat(mathjax): configure to let mathjax use local files
Close #63
2018-07-06 22:24:47 +08:00
morya
cec9ea91bc
feat(scripts): configure to use local files for flowchart and sequence diagram
Close #76, #77
2018-07-06 22:20:39 +08:00
olOwOlo
d7fb92fff9
chore(release): release 3.2.0 2018-07-06 20:24:49 +08:00
Keith Mo
9033266c2f feat(post): add out-of-date content warning (#68) 2018-06-01 00:06:14 +08:00
panda-z
af22a4822c feat: add auto number for mathjax (#53) 2018-04-15 23:43:31 +08:00
olOwOlo
b18086fb89
fix(release): version param 2018-03-12 23:06:39 +08:00
olOwOlo
5bcf92d8fe
feat: generate sequence diagrams from code blocks (#35)
Close #35
2018-03-12 21:44:54 +08:00
olOwOlo
7043881ae2
feat: generate flowchart diagrams from code blocks (#35) 2018-03-12 21:30:47 +08:00
olOwOlo
2b4a3737d6
fix: mathjax overflow for displayed mathematics (#32)
release 3.0.1
2018-02-22 15:53:33 +08:00
olOwOlo
28b4c8a5dd
refactor: configure mathjax using plain javascript
If you use `x-mathjax-config` with CSP enabled, you will need to add 'unsafe-eval' to your CSP policy.
2018-02-13 16:19:47 +08:00
Dongdong Tian
33594c0d13 feat: support custom css and js (#29) 2018-02-03 21:41:44 +08:00
olOwOlo
52eeea8f20
chore(release): 3.0.0
Hugo min_version: 0.26 -> 0.35
2018-02-01 21:47:36 +08:00
olOwOlo
8c2030327f
refactor: remove deprecated bootcdn param 2018-01-31 22:14:48 +08:00
Chun-Hung Tseng
6f7bd1b933 feat: config mathjax to use $...$ for in-line math mode (#22)
* Update cdn mathjax version to 2.7.2
2018-01-15 22:22:14 +08:00
olOwOlo
e1f5be88d3
fix: error when heading contains link (#20)
release 2.7.2
2018-01-13 20:34:14 +08:00
olOwOlo
5e2df2d9db
fix: missing last line of code in blogdown (#19)
release 2.7.1
2018-01-10 16:21:01 +08:00
olOwOlo
1bb6eea8a8
feat: allow set something for a single content
* Now, you can open or close toc, copyright, reward and mathjax for a single content.
* Also change the default global settings: autoCollapseToc = true -> false; mathjax = true -> false
2017-12-06 20:34:22 +08:00
olOwOlo
c6a71c268b
docs: update example site
release 2.7.0
2017-12-05 20:09:12 +08:00
Lei Zhang
fa7e44cec8 fix: separate categories (#15)
* Separate categories with whitespace
* Modify the _header.scss file to add a '·' character

release 2.6.6
2017-11-14 23:27:19 +08:00
olOwOlo
c01c9cffb7
feat: remove excess ul when the title is not starting from h1
release 2.6.5
2017-11-01 22:55:58 +08:00
olOwOlo
758f15746a
fix: fallback for browsers which doesn't support for calc()
See #13

release 2.6.4
2017-10-13 21:43:30 +08:00
olOwOlo
0ba82dd176
feat: only init toc when there are headings
release 2.6.3
2017-10-12 23:01:06 +08:00
olOwOlo
add55547f5
refactor: remove useless css code
release 2.6.2
2017-10-01 22:31:56 +08:00
olOwOlo
70714089fe
feat: add kotlin syntax highlighting (#11) 2017-10-01 22:22:08 +08:00
olOwOlo
2b282fc57c
style: add description for reward images
release 2.6.1
2017-09-16 17:28:23 +08:00
olOwOlo
d6ac9cd9ce
chore(release): 2.6.0 2017-09-13 00:41:40 +08:00
olOwOlo
5fb5a658e8
feat: config public cdn
deprecated bootcdn param
2017-09-12 23:59:08 +08:00
olOwOlo
d60bfcc49a
feat: MathJax config message option
eliminate all messages in the lower left-hand corner
2017-09-10 21:20:56 +08:00
olOwOlo
6a66b73a43 refactor: move theme version param to template
delete version param in config.toml
even.[version].css => even.min.css?v=[version]
even.[version].js => even.min.js?v=[version]

It's more convenient for users to update this theme.
2017-09-06 01:13:02 +08:00
olOwOlo
4a2676396c fix: always use relURL 2017-08-31 00:18:22 +08:00
olOwOlo
3c6cb7f296 🎉 first commit 2017-08-27 22:38:42 +08:00