* feat(i18n): add German translations for new features and refactor
add translation for feature `back`
add translation for feature `tableOfContents`
add translation for feature `readingTime`
fix translation for feature `resultTitle`
add newlines according to i18n en config
* feat(i18n): add Spanish translations for new features and refactor
add translation for feature `back`
add translation for feature `tableOfContents`
add translation for feature `readingTime`
add newlines according to i18n en config
* add comment provider: DisqusJS
* Simplify `if` condition, and format code
* Load disqusjs.scss only when it's enabled
* Use `let` instead of `var`
Co-authored-by: sspirits <admin@lv5.moe>
Co-authored-by: Jimmy Cai <github@jimmycai.com>
* feat(menu): support open an entry in new tab
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/230
* Revert change in markup.tableOfContents.ordered
* Upgrade Netlify Hugo version
* doc: require Hugo Extended >= 0.87.0
* Create twikoo.html
* Upgrade to Twikoo 1.4.3 and add `lang` param
* Add twikoo section in config.yaml
Co-authored-by: Jimmy Cai <github@jimmycai.com>
* Use markdownify for licence in article
So we can use links, e.g. to credits for main photo.
* refactor: move .article-copyright style to partials/layout/article
Co-authored-by: Jimmy Cai <github@jimmycai.com>
* add reading time feature
* Revert change in jsconfig.json
* feat: add article.readingTime param, and improve style
* Revert change in jsconfig.json x2
* Remove reading time in compact layout
It doesn't look right to me for now
* feat: add i18n support to reading time string
* Hide footer.article-time when there's not content
Co-authored-by: Jimmy Cai <github@jimmycai.com>
* Allow to disable logo image in left sidebar
* Enable sidebar avatar by default for backward compatibility
Co-authored-by: Jimmy Cai <github@jimmycai.com>