Commit graph

540 commits

Author SHA1 Message Date
Jimmy Cai
8a597a5c9c
Merge branch 'canary' into master (#711)
* refactor(i18n): simplify the structure of the translation file

* chore: prepare repository for v4.0.0-alpha

* chore: modify go.mod to v4

* refactor: migrate theme configuration to TOML

* fix: exampleSite not using correct theme

* feat: add favicon from assets folder

* refactor: drop linear grandient background feature

remove node-vibrant from dependencies

* feat: use Hugo's code block render hook to implement code copy button

Now it can have i18n support

* refactor: delete color.ts

* refactor: delete Emoji support post from example site

* refactor: drop support for `hidden` field in front matter

* feat: upgrade to PhotoSwipe v5

* chore: bump the required hugo version to 0.100.0

* refactor: remove PhotoSwipe from external.yaml

* fix: extra margin in search result

* fix: incorrect markdown heading level in example site

* refactor: remove some usages of `default` in template

No longer needed thanks to Hugo's configuration merge

* fix: one line codeblock style in firefox

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/564

* feat: add style to new codeblock

* feat: i18n support for codeblock copy text

* fix(menu): jitter when closing menu

It's caused by flexbox gap property, which can't animate

* fix(search): long text overflows under the Search icon

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/515
2022-10-29 17:02:24 +02:00
Jimmy Cai
d60083e055 release: 3.16.0 2022-10-29 14:46:07 +00:00
Jimmy Cai
5d34c3de44
fix(article): frontmatter field .ReadingTime should overwrite global configuration (#710) 2022-10-29 14:50:15 +02:00
MartinAramayo
30e033c660
feat(article): make long KaTeX equations scrollable in the x-axis (#706)
* Make long KaTeX equations scrollable in the x-axis

Suggested from: https://katex.org/docs/issues.html, I have tested it adding a long equation and activating a phone user agent.

* refactor: move KaTeX style to article.scss
2022-10-29 14:38:44 +02:00
Jimmy Cai
86314608e3 style: fix indent 2022-10-29 12:19:09 +00:00
Tom Morris
8611363549
feat: add rel=me to social links (#707)
Adds rel-me to social links

[rel="me"] is a commonly used way to show that that two websites or
social
media accounts are the same, and is used for authentication and proving
site ownership in a variety of ways.

[rel="me"]: https://indieweb.org/rel-me
2022-10-29 14:04:21 +02:00
Jimmy Cai
73437f24ea release: 3.15.0 2022-10-22 10:17:46 +00:00
gursi26
9b464bd9fc
feat(page): add keywords front matter field for better SEO (#664)
* added keywords metadata tag for google SEO

* fix: avoid empty keywords meta tag

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-10-22 12:13:24 +02:00
FarisZR
70f431ea18
feat: add a separate configuration field for site description (#672)
* Add an optional site description option

* Add site description to the example site (Chinese Auto-translated)
2022-10-22 11:56:38 +02:00
Ahmad Helaly
30fdd000f9
feat(article): add readingTime front matter field to overwrite global configuration (#701)
* add DisableReadTime for articles

* change frontmatter disableReadingTime to readingTime
2022-10-22 11:48:00 +02:00
星の光
ae497c4789
refactor(grid): avoid sidebar layout shift when main content loads slowly (#677)
Co-authored-by: Luguoba <80254980+luguoba@users.noreply.github.com>
2022-10-21 13:06:06 +02:00
Celso Miranda
299b80c5f8
feat(i18n): add european portuguese translation (#699)
Very subtle changes from the Brazilian Portuguese translation
2022-10-21 12:56:00 +02:00
Jimmy Cai
414a9915e5 release: 3.14.0 2022-10-02 09:59:23 +00:00
TsaiRongFu
378370f6db
docs: update the notes about favicon in the configuration file (#670)
* Update the notes about favicon in the configuration theme

* Update note about favicon

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-10-02 11:56:56 +02:00
Allen Guan
e1a85aa5cd
refactor(highlight): extract common parts of styles and keep line number visible when scrolling (#681)
* merge highlight.scss

* show line number when scroll
2022-10-02 11:38:42 +02:00
FarisZR
b1e8472bcf
feat(i18n): add categories cloud translation for Arabic (#673)
Add categories cloud translation
2022-09-29 16:30:47 +02:00
Mehedi Hasan
22d8a396ab
feat(i18n): update Bengali translation (#665) 2022-09-29 16:28:58 +02:00
Daniel Pessoa
94a1f4ade0
feat(i18n): add missing pt-BR translations (#680)
* feat(i18n): Add categoriesCloud for pt-BR
2022-09-29 16:25:58 +02:00
Dmitry Verkhoturov
8826674b1f
fix(comments): update Remark42 source code (#683)
update remark42 source code

Updated frontend code taken from https://remark42.com/docs/configuration/frontend/
2022-09-29 16:22:01 +02:00
Jimmy Cai
efd6f1de37
chore: simplify README.md 2022-09-17 15:38:44 +02:00
Wontory
72c5f4ea24
feat(i18n): added missing korean translation (categories cloud widget) (#653) 2022-08-03 20:49:10 +02:00
Jimmy Cai
5869a7ab83 release: 3.13.0 2022-07-31 10:55:27 +00:00
辛巳流火
d00dbc17bc
feat(comment): add strict and input-position to Giscus config (#648)
* 添加giscus设置选项

根据giscus官方文档,添加了data-strict和data-input-position设置选项

* feat: add strict and inputPosition to giscus config section

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-07-31 12:39:20 +02:00
Jimmy Cai
655b5102c4 fix(article): footnote reference does not work
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/632
2022-07-28 16:48:37 +00:00
Jimmy Cai
b02569add9 chore(github): delete unused Github actions 2022-06-11 12:45:39 +00:00
Jimmy Cai
4546d74af3
chore(github): add browser info field to issue form 2022-06-11 14:37:39 +02:00
Jimmy Cai
c6ccfc8f26
fix(github): try to fix errors with the issue form 2022-06-11 14:32:34 +02:00
Jimmy Cai
5fe1b35ba5
chore(github): change issue report template to a form 2022-06-11 14:29:02 +02:00
Jimmy Cai
d53ba6ea20
docs(github): create issue config.yml
Disable blank issue
2022-06-11 14:00:36 +02:00
Jimmy Cai
722950c167 docs(github): remove feature request template
see https://github.com/CaiJimmy/hugo-theme-stack/discussions/630
2022-06-11 11:56:38 +00:00
rmdhnreza
3d09c23284
feat(article): GitLab Snippets Shortcode (#627) 2022-06-11 11:04:20 +02:00
Jimmy Cai
7a38f3ad50
chore: update Hugo version in Netlify CI 2022-06-11 10:59:20 +02:00
Jimmy Cai
5608f0a5e1 release: 3.12.0 2022-06-10 22:54:12 +00:00
Jimmy Cai
165c96a8e0 fix(comments): Twikoo dark mode emoji selector background
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/583

credit: https://github.com/CaiJimmy/hugo-theme-stack/issues/583#issuecomment-1096270207 (@rmdhnreza)
2022-06-10 22:43:16 +00:00
lonzzi
7142de24cc
fix(article): TOC link not working when the heading starts with digits (#603) 2022-06-11 00:39:16 +02:00
cubercsl
9aa6b4925b
fix(style): toc counter is incorrect when there are <a> in heading (#601)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/495, https://github.com/CaiJimmy/hugo-theme-stack/issues/589
2022-06-11 00:34:19 +02:00
Sajjad Shirazy
92a6d71ce5
feat(i18n): add Persian(Farsi) translation (#602) 2022-06-10 20:55:59 +02:00
Jimmy Cai
01eb9a4b0e
fix: check if DISQUS is loaded before accessing it (#626)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/571
2022-06-09 22:43:08 +02:00
Mehedi Hasan
49c0a2bc56
feat(i18n): add Bengali translation (#625) 2022-06-09 20:48:24 +02:00
luoboQAQ
9eec31f0b6
feat(comment): Update Waline to V2 version (#616)
*  feat(comment): 更新Waline至V2版本

* 保留placeholder属性
2022-06-08 18:30:52 +02:00
Simon Guest
772b9e3ba8
fix(article): regression in article copyright link box-shadow (#611)
Somewhere between hugo 0.88.1 and 0.98.0, box-shadow got applied
to the article copyright, which is an ugly regression.
2022-06-08 18:21:28 +02:00
Simon Guest
955bb8dd7f
feat(shortcodes): add quote shortcode, and example (#414)
* Add quote shortcode, and example

* Use trim to improve whitespace

* Allow for quote with neither author nor source

* Format code and move quote.scss to article.scss

This style is only used on the article page, so it makes more sense to have it there.

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-06-08 17:59:23 +02:00
Felix Niederwanger
0a5cbea10f
feat(i18n): add missing translation (it, nl) for categories (#614) 2022-06-05 19:01:31 +02:00
baptiste313
e8f1b8f7b7
chore: update dependencies (KaTeX, node-vibrant) (#477) 2022-06-05 18:50:27 +02:00
Weltolk
06c68e2aa2
chore: update twikoo version to 1.5.11 (#613) 2022-06-05 18:48:01 +02:00
Jimmy Cai
3a79e9856e
fix: read imageProcessing.cover.enabled correctly (#621) 2022-06-05 18:21:08 +02:00
Zsombor Udvardy
add8f364e0
feat(i18n): add Hungarian translation (#584) 2022-06-05 18:00:05 +02:00
Spence Churchill
5e350b92e8
refactor: rename "Related contents" to "Related content" (#567) 2022-06-05 17:20:08 +02:00
Allen Guan
58b1e0706a
feat: add general.scss and change link hover style (#550) 2022-06-05 17:00:14 +02:00
Niko Köser
14bb05c8db
docs(i18n): add German translation for categories widget (#596) 2022-06-05 13:02:41 +02:00