Commit graph

76 commits

Author SHA1 Message Date
Egor Lynko
fcf2021958
feat(language-selector): Implement optional language selector (#298) 2021-01-17 22:32:33 +08:00
panda-z
7dfedd3440
feat(mathjax): upgrade to 3.0.5 (#270) 2020-09-11 00:04:59 +08:00
panda-z
4ad955c204
fix(layouts): add missing space for minify (#250)
* fix(layouts): add missing space for minify

* chore(*): update resources file
2020-09-11 00:02:51 +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
olOwOlo
d39d3e4439
chore(head.html): remove theme version in generator meta 2019-09-08 22:45:41 +08:00
olOwOlo
024ebc1733
refactor(*): deprecated warn, Pages .URL -> .RelPermalink 2019-09-08 22:42:48 +08:00
olOwOlo
d53092e8b2
refactor(head.html): Page's .RSSLink is deprecated
This closes #162, closes #187
2019-09-08 22:17:31 +08:00
Steve Xu
add91d5540 fix(layouts/partials/head.html): fix hugo 0.55 warning (#161)
Closes #158
2019-09-03 21:36:04 +08:00
Hank
90598768ad fix(comment): gitment object progressEvent error (#165) 2019-05-25 22:56:19 +08:00
被欺负的大白
ceba71f0d5 feat(comment): add utterances support (#156)
Closes #117
2019-05-25 22:31:59 +08:00
alicewish
d8a7dab116 feat(comment): Valine Support (#155)
Closes #95
2019-05-25 18:50:03 +08:00
Trent Zhou
cd7f705800 feat(comment): added sid for Changyan comments (#133)
Closes #121
2019-03-31 15:24:10 +08:00
Gimo
920e2eb84b feat(lastmod): use git commit to generate lastmod info (#124) 2019-02-14 20:26:50 +08:00
panda-z
915174fdba feat(scripts): disable google analytics on localhost (#123) 2019-01-05 22:08:34 +08:00
olOwOlo
f4bcf93d0e
refactor(comment): remove local js and css files
BREAKING CHANGE: Remove local comment js/css files.
2018-11-05 21:19:43 +08:00
olOwOlo
416ff89658
refactor(mathjax): cdn jsdelivr
Closes #82
2018-11-05 16:27:06 +08:00
sslyxhz
51e5acaae1
fix(busuanzi): update busuanzi domain
Closes #104
Closes #108
Closes #109
2018-11-05 16:15:24 +08:00
zhaozhiyuan
1a1240ccf7
chore(gitalk): upgrade
Closes #87
2018-11-05 16:07:12 +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
赵志远
5f8b79f942 feat: add gitalk (#51) 2018-04-05 21:44:09 +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
sslyxhz
1da110d6b1 feat: add gitment module (#36) 2018-03-11 14:47:13 +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
a6e116452f
feat: add postMetaInFooter param
add `postMetaInFooter` param to control the `contentCopyright` container, and now you can show the author and lastMod information without displaying the license.
2018-01-31 22:39:16 +08:00
olOwOlo
8c2030327f
refactor: remove deprecated bootcdn param 2018-01-31 22:14:48 +08:00
olOwOlo
259d3dec1a
refactor: i18n 2018-01-31 22:07:50 +08:00
olOwOlo
be7b6c63a4
refactor: default favicon 2018-01-31 22:00:51 +08:00
olOwOlo
084f8cb2c3
feat: support multilingual mode
* fix: wrong lang attribute in multilingual mode
  - baseof.html
* fix: rss link in multilingual mode
  - footer.html
* fix: wrong tags, categories, home link in multilingual mode
  - other files ...

This relates to #25
2018-01-30 21:26:46 +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
alicewish
5ec874d64e feat: add LiveRe and busuanzi (#17)
* LiveRe: commenting system
* busuanzi: count web traffic
2017-12-20 21:33:05 +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
8c07810484
fix: compatible with config.toml file without the autoCollapseToc parameter 2017-12-05 22:32:09 +08:00