cubercsl
3fe638f2c3
fix(codeblock): margin of no highlight codeblock
...
This commit fix the wrong margin value of the codeblock which
can not highlight.
The margin is now use the value of ".article-content pre"
Signed-off-by: cubercsl <2014cais01@gmail.com>
2022-11-01 20:11:53 +08:00
cubercsl
9f042524a9
fix(codeblock): pass through the options of chroma
...
Pass through the options of chroma highlighting processing for whom
may use some options in codeblock.
This commit fix problem with the following scenarios:
```python {linenos=true}
print("Hello World")
```
Signed-off-by: cubercsl <2014cais01@gmail.com>
2022-11-01 20:11:00 +08:00
Jimmy Cai
2035beb5a0
Merge branch 'master' into canary
2022-10-29 16:54:09 +02:00
Jimmy Cai
d60083e055
release: 3.16.0
2022-10-29 14:46:07 +00:00
Jimmy Cai
b0ab8e8ef0
Merge branch 'master' into canary
2022-10-29 13:51:05 +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
7f94ce9847
fix(search): long text overflows under the Search icon
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/515
2022-06-13 08:36:48 +00:00
Jimmy Cai
1e5cced034
fix(menu): jitter when closing menu
...
It's caused by flexbox gap property, which can't animate
2022-06-12 14:53:53 +00:00
Jimmy Cai
d89def07ac
feat: i18n support for codeblock copy text
2022-06-12 14:26:20 +00:00
Jimmy Cai
7a710cbb55
feat: add style to new codeblock
2022-06-12 14:23:26 +00:00
Jimmy Cai
7b2fda70a4
fix: one line codeblock style in firefox
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/564
2022-06-12 14:06:08 +00:00
Jimmy Cai
751d7d1753
refactor: remove some usages of default
in template
...
No longer needed thanks to Hugo's configuration merge
2022-06-12 13:51:46 +00:00
Jimmy Cai
de22945155
fix: incorrect markdown heading level in example site
2022-06-12 12:40:40 +00:00
Jimmy Cai
cdf50c757c
fix: extra margin in search result
2022-06-12 12:37:30 +00:00
Jimmy Cai
fcaaadda63
refactor: remove PhotoSwipe from external.yaml
2022-06-12 12:30:52 +00:00
Jimmy Cai
dea878239a
chore: bump the required hugo version to 0.100.0
2022-06-12 12:24:06 +00:00
Jimmy Cai
9d4ab5afcf
feat: upgrade to PhotoSwipe v5
2022-06-12 12:10:17 +00:00
Jimmy Cai
e5f3cb11d5
refactor: drop support for hidden
field in front matter
2022-06-12 11:42:35 +00:00
Jimmy Cai
6e5956b905
refactor: delete Emoji support post from example site
2022-06-12 11:42:13 +00:00
Jimmy Cai
b63e6a9c62
refactor: delete color.ts
2022-06-12 11:31:41 +00:00
Jimmy Cai
de08e29b00
feat: use Hugo's code block render hook to implement code copy button
...
Now it can have i18n support
2022-06-12 11:31:32 +00:00
Jimmy Cai
abf0c773aa
refactor: drop linear grandient background feature
...
remove node-vibrant from dependencies
2022-06-12 10:55:57 +00:00
Jimmy Cai
ba3dbc4163
feat: add favicon from assets folder
2022-06-12 10:50:04 +00:00
Jimmy Cai
7d838dc7fd
fix: exampleSite not using correct theme
2022-06-12 10:39:27 +00:00
Jimmy Cai
2d9c27a7c6
refactor: migrate theme configuration to TOML
2022-06-12 10:27:18 +00:00
Jimmy Cai
6cff36abee
chore: modify go.mod to v4
2022-06-12 10:07:00 +00:00
Jimmy Cai
bd40dda7d9
chore: prepare repository for v4.0.0-alpha
2022-06-12 09:15:09 +00:00
Jimmy Cai
b66083e728
refactor(i18n): simplify the structure of the translation file
2022-06-12 09:13:39 +00:00
Jimmy Cai
b02569add9
chore(github): delete unused Github actions
2022-06-11 12:45:39 +00:00