hugo-theme-even/CHANGELOG.md

163 lines
13 KiB
Markdown

# [4.1.0](https://github.com/olOwOlo/hugo-theme-even/compare/v4.0.0...v4.1.0) (2021-01-17)
### Bug Fixes
* code font size and extra mathjax scoll bar ([#125](https://github.com/olOwOlo/hugo-theme-even/issues/125)) ([4fe2685](https://github.com/olOwOlo/hugo-theme-even/commit/4fe268549ac24eeac92143da27a05ecd0eb29ad0))
* **comment:** gitment object progressEvent error ([#165](https://github.com/olOwOlo/hugo-theme-even/issues/165)) ([9059876](https://github.com/olOwOlo/hugo-theme-even/commit/90598768ad077d4bd5a7b167eec4b2c3debe5afd))
* **exampleSite:** insecure mixed content ([97c4764](https://github.com/olOwOlo/hugo-theme-even/commit/97c47646e69423073e91b46ca3fd42962cdab4b0))
* **index.html:** .Site.RegularPages ([5a3e559](https://github.com/olOwOlo/hugo-theme-even/commit/5a3e5599d2a2bb509014b31901be813387f3edba)), closes [#188](https://github.com/olOwOlo/hugo-theme-even/issues/188) [#192](https://github.com/olOwOlo/hugo-theme-even/issues/192)
* **js:** add wrapper for all tables except highlighted code-blocks ([#244](https://github.com/olOwOlo/hugo-theme-even/issues/244)) ([5ec3bea](https://github.com/olOwOlo/hugo-theme-even/commit/5ec3bea7dc3cda6e774a0ed1b5f0ac05aac023c7)), closes [#232](https://github.com/olOwOlo/hugo-theme-even/issues/232)
* **js:** code block title for hugo 0.60 or above ([#229](https://github.com/olOwOlo/hugo-theme-even/issues/229)) ([af108c4](https://github.com/olOwOlo/hugo-theme-even/commit/af108c4ad50793637f244149fb402a7ba61b8a64)), closes [#221](https://github.com/olOwOlo/hugo-theme-even/issues/221)
* **js:** infnity scrolling post on the Chrome and Safari ([#225](https://github.com/olOwOlo/hugo-theme-even/issues/225)) ([60844e8](https://github.com/olOwOlo/hugo-theme-even/commit/60844e829b4c97b57744384d48718410c37d697a)), closes [#209](https://github.com/olOwOlo/hugo-theme-even/issues/209)
* **layouts:** add missing space for minify ([#250](https://github.com/olOwOlo/hugo-theme-even/issues/250)) ([4ad955c](https://github.com/olOwOlo/hugo-theme-even/commit/4ad955c204ed26cf16c82fbad63dbb335550daf0))
* **layouts/partials/head.html:** fix hugo 0.55 warning ([#161](https://github.com/olOwOlo/hugo-theme-even/issues/161)) ([add91d5](https://github.com/olOwOlo/hugo-theme-even/commit/add91d5540decfa4ce5f2dd1487ec26ade656c8e)), closes [#158](https://github.com/olOwOlo/hugo-theme-even/issues/158)
* **post/toc:** js toc error ([#271](https://github.com/olOwOlo/hugo-theme-even/issues/271)) ([708de67](https://github.com/olOwOlo/hugo-theme-even/commit/708de67fd6a87ccf9b00d6626a18d135d38ca2e1)), closes [#279](https://github.com/olOwOlo/hugo-theme-even/issues/279)
* **scss:** Fix code block padding with `codeFences = false` ([#297](https://github.com/olOwOlo/hugo-theme-even/issues/297)) ([513c19a](https://github.com/olOwOlo/hugo-theme-even/commit/513c19a0fe9bbc92686ca10c1d1c793a61098219))
* **uglyurls:** uglyurls with tag and categories terms ([#129](https://github.com/olOwOlo/hugo-theme-even/issues/129)) ([f14d7b5](https://github.com/olOwOlo/hugo-theme-even/commit/f14d7b5f734fb8ffea6127c210d66edc72bddcc7)), closes [#89](https://github.com/olOwOlo/hugo-theme-even/issues/89)
### Features
* **comment:** add utterances support ([#156](https://github.com/olOwOlo/hugo-theme-even/issues/156)) ([ceba71f](https://github.com/olOwOlo/hugo-theme-even/commit/ceba71f0d5c0dd35b5a1effdc0dcc2ee8634917f)), closes [#117](https://github.com/olOwOlo/hugo-theme-even/issues/117)
* **comment:** added sid for Changyan comments ([#133](https://github.com/olOwOlo/hugo-theme-even/issues/133)) ([cd7f705](https://github.com/olOwOlo/hugo-theme-even/commit/cd7f705800097659601828bc63bf3f1ea8d19033)), closes [#121](https://github.com/olOwOlo/hugo-theme-even/issues/121)
* **comment:** Valine Support ([#155](https://github.com/olOwOlo/hugo-theme-even/issues/155)) ([d8a7dab](https://github.com/olOwOlo/hugo-theme-even/commit/d8a7dab116ee3b63155454bacda87538bbd6351d)), closes [#95](https://github.com/olOwOlo/hugo-theme-even/issues/95)
* **flowchart:** support keyword `flow` ([ecb7935](https://github.com/olOwOlo/hugo-theme-even/commit/ecb7935896012da551255711edb1b6e381948c2f)), closes [#113](https://github.com/olOwOlo/hugo-theme-even/issues/113)
* **i18n:** add Traditional Chinese translation ([#230](https://github.com/olOwOlo/hugo-theme-even/issues/230)) ([4be1234](https://github.com/olOwOlo/hugo-theme-even/commit/4be12348f7ab6a34f082f241b2c13dd28d66df4b))
* **i18n:** Adding Turkish translations ([#328](https://github.com/olOwOlo/hugo-theme-even/issues/328)) ([79b91ba](https://github.com/olOwOlo/hugo-theme-even/commit/79b91bac16fea6b01a2191bffb563d6be5e2acaa))
* **lastmod:** use git commit to generate lastmod info ([#124](https://github.com/olOwOlo/hugo-theme-even/issues/124)) ([920e2eb](https://github.com/olOwOlo/hugo-theme-even/commit/920e2eb84bb874a9e48062b1bf4032c8b9c4141a))
* **layout:** minify script ([#258](https://github.com/olOwOlo/hugo-theme-even/issues/258)) ([50aa3f8](https://github.com/olOwOlo/hugo-theme-even/commit/50aa3f8d5553fdbd0e05db7a2c3351d1d593af29))
* **mathjax:** upgrade to 3.0.5 ([#270](https://github.com/olOwOlo/hugo-theme-even/issues/270)) ([7dfedd3](https://github.com/olOwOlo/hugo-theme-even/commit/7dfedd34404ad18fab9027bf04bab9a0b72f5ffd))
* **scripts:** disable google analytics on localhost ([#123](https://github.com/olOwOlo/hugo-theme-even/issues/123)) ([915174f](https://github.com/olOwOlo/hugo-theme-even/commit/915174fdbaf728b2aa5edb05bdd842cd82670e02))
* **scripts:** only enable google analytics in production environment ([#260](https://github.com/olOwOlo/hugo-theme-even/issues/260)) ([f6a183a](https://github.com/olOwOlo/hugo-theme-even/commit/f6a183a5c370db0698938328fa3e505c4be19f16))
* **scss:** font-display: swap ([#267](https://github.com/olOwOlo/hugo-theme-even/issues/267)) ([567fd46](https://github.com/olOwOlo/hugo-theme-even/commit/567fd466a139bdd5fc182bb60a5906993de28f91))
* **scss:** support diff highlight ([#163](https://github.com/olOwOlo/hugo-theme-even/issues/163)) ([8ce9bce](https://github.com/olOwOlo/hugo-theme-even/commit/8ce9bce7714bd9c6c70624ec4603c437f2bda3e4))
* **shortcodes:** support bilibili video ([#294](https://github.com/olOwOlo/hugo-theme-even/issues/294)) ([da4320e](https://github.com/olOwOlo/hugo-theme-even/commit/da4320e8a56343ad37a4604e61915675fa18a270)), closes [#278](https://github.com/olOwOlo/hugo-theme-even/issues/278)
* **taxonomy:** custom order ([#159](https://github.com/olOwOlo/hugo-theme-even/issues/159)) ([439557f](https://github.com/olOwOlo/hugo-theme-even/commit/439557fce42371dc297ce08e979367737b888749)), closes [#157](https://github.com/olOwOlo/hugo-theme-even/issues/157)
# [4.0.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.2.0...v4.0.0) (2018-11-06)
### Bug Fixes
* **busuanzi:** update busuanzi domain ([51e5aca](https://github.com/olOwOlo/hugo-theme-even/commit/51e5aca)), closes [#104](https://github.com/olOwOlo/hugo-theme-even/issues/104) [#108](https://github.com/olOwOlo/hugo-theme-even/issues/108) [#109](https://github.com/olOwOlo/hugo-theme-even/issues/109)
* **config:** MediaType's Suffix deprecated warning ([#103](https://github.com/olOwOlo/hugo-theme-even/issues/103)) ([b55831b](https://github.com/olOwOlo/hugo-theme-even/commit/b55831b))
### Code Refactoring
* **comment:** remove local js and css files ([f4bcf93](https://github.com/olOwOlo/hugo-theme-even/commit/f4bcf93))
* **param:** camelcase for parameter names ([fcb48d9](https://github.com/olOwOlo/hugo-theme-even/commit/fcb48d9))
### Features
* init admonition & refactor iconfont ([2517f74](https://github.com/olOwOlo/hugo-theme-even/commit/2517f74))
* **highlight:** add support for chroma ([7710103](https://github.com/olOwOlo/hugo-theme-even/commit/7710103))
* **mathjax:** configure to let mathjax use local files ([a3cab1a](https://github.com/olOwOlo/hugo-theme-even/commit/a3cab1a)), closes [#63](https://github.com/olOwOlo/hugo-theme-even/issues/63)
* **scripts:** configure to use local files for flowchart and sequence diagram ([cec9ea9](https://github.com/olOwOlo/hugo-theme-even/commit/cec9ea9)), closes [#76](https://github.com/olOwOlo/hugo-theme-even/issues/76) [#77](https://github.com/olOwOlo/hugo-theme-even/issues/77)
* **style:** dashed hr ([90a17f8](https://github.com/olOwOlo/hugo-theme-even/commit/90a17f8))
* **table:** responsive table ([9d8940b](https://github.com/olOwOlo/hugo-theme-even/commit/9d8940b)), closes [#107](https://github.com/olOwOlo/hugo-theme-even/issues/107)
* **title:** add anchor ([8d39099](https://github.com/olOwOlo/hugo-theme-even/commit/8d39099))
### BREAKING CHANGES
* **hugo:** Hugo minimum version required "0.50".
* **comment:** Remove local comment js/css files.
* **highlight:** You need add params to enable `chroma` or `highlight.js` since they are disabled by default.
* **param:** 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 |
* **version:** Version flag "4.x".
```toml
[params]
version = "4.x" # 3.x -> 4.x
```
<a name="3.2.0"></a>
# [3.2.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.1.1...v3.2.0) (2018-07-06)
### Bug Fixes
* **gist:** css conflict ([#61](https://github.com/olOwOlo/hugo-theme-even/issues/61)) ([e1781a2](https://github.com/olOwOlo/hugo-theme-even/commit/e1781a2))
* **section:** remove hard coded `section` ([#67](https://github.com/olOwOlo/hugo-theme-even/issues/67)) ([6766e09](https://github.com/olOwOlo/hugo-theme-even/commit/6766e09))
### Features
* **mathjax:** add auto number for mathjax ([#53](https://github.com/olOwOlo/hugo-theme-even/issues/53)) ([af22a48](https://github.com/olOwOlo/hugo-theme-even/commit/af22a48))
* **comment:** add gitalk ([#51](https://github.com/olOwOlo/hugo-theme-even/issues/51)) ([5f8b79f](https://github.com/olOwOlo/hugo-theme-even/commit/5f8b79f))
* **config:** add option to hide header and footer for a post ([#58](https://github.com/olOwOlo/hugo-theme-even/issues/58)) ([094cfa5](https://github.com/olOwOlo/hugo-theme-even/commit/094cfa5))
* **config:** configure to show archive count ([2c7773b](https://github.com/olOwOlo/hugo-theme-even/commit/2c7773b)), closes [#46](https://github.com/olOwOlo/hugo-theme-even/issues/46)
* **i18n:** add Spanish(es) translation ([#48](https://github.com/olOwOlo/hugo-theme-even/issues/48)) ([d7c6059](https://github.com/olOwOlo/hugo-theme-even/commit/d7c6059))
* **post:** add out-of-date content warning ([#68](https://github.com/olOwOlo/hugo-theme-even/issues/68)) ([9033266](https://github.com/olOwOlo/hugo-theme-even/commit/9033266))
<a name="3.1.1"></a>
# [3.1.1](https://github.com/olOwOlo/hugo-theme-even/compare/v3.1.0...v3.1.1) (2018-03-12)
### Bug Fixes
* release: version param ([b18086f](https://github.com/olOwOlo/hugo-theme-even/commit/b18086f))
<a name="3.1.0"></a>
# [3.1.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.0.0...v3.1.0) (2018-03-12)
### Bug Fixes
* mathjax overflow for displayed mathematics ([#32](https://github.com/olOwOlo/hugo-theme-even/issues/32)) ([2b4a373](https://github.com/olOwOlo/hugo-theme-even/commit/2b4a373))
### Features
* add gitment module ([#36](https://github.com/olOwOlo/hugo-theme-even/issues/36)) ([1da110d](https://github.com/olOwOlo/hugo-theme-even/commit/1da110d))
* add hiddenFromHomePage param ([#37](https://github.com/olOwOlo/hugo-theme-even/issues/37)) ([5277734](https://github.com/olOwOlo/hugo-theme-even/commit/5277734))
* generate flowchart diagrams from code blocks ([#35](https://github.com/olOwOlo/hugo-theme-even/issues/35)) ([7043881](https://github.com/olOwOlo/hugo-theme-even/commit/7043881))
* generate sequence diagrams from code blocks ([#35](https://github.com/olOwOlo/hugo-theme-even/issues/35)) ([5bcf92d](https://github.com/olOwOlo/hugo-theme-even/commit/5bcf92d))
* support custom css and js ([#29](https://github.com/olOwOlo/hugo-theme-even/issues/29)) ([33594c0](https://github.com/olOwOlo/hugo-theme-even/commit/33594c0))
# 3.0.0
### Features
* feat: add `center`, `right`, `left` shortcodes
* feat: support 'right' and 'left' class value for the built-in `figure`
### Breaking changes
* See [Language Support](https://github.com/olOwOlo/hugo-theme-even#language-support).
* See [Favicon](https://github.com/olOwOlo/hugo-theme-even#favicon).
* Remove deprecated `bootcdn` param, you can use `[params.publicCDN]`.
* The `archive-paginate` param rename to `archivePaginate`.
* Add a `postMetaInFooter` parameter to control the `contentCopyright` container, and now you can show the author and lastMod information without displaying the license.
* There must be a `version` param, otherwise the build process will give an error.
* Minimum version required: 0.26 -> 0.35
```toml
# add
version = "3.x" # Used to give a friendly message when you have an incompatible update
# add
postMetaInFooter = true
# rename archive-paginate
archivePaginate = 50
```