Commit Graph

68 Commits

Author SHA1 Message Date
k
45b16a0bb4
fix(typo): change 'a ex.*' for 'an ex.*' (#213)
In order to fix this kind of typo, the (not sophisticated) Regular
Expression: `[a-zA-Z] [aA] [aeiouAEIOU]` was ran.

That Regular Expression matches some good written sentences like `a
User`, therefore, those has been omitted.
2021-06-12 09:24:59 +02:00
慕枫Go
325303a7f8
feat: add Vssue comment (#197)
* 添加Vssue评论插件

* 修复默认代理过期问题

* style(comment/vssue): format html

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-04-26 18:27:44 +02:00
miclnl
b10d028ca9
feat(i18n): add Dutch (#180) 2021-04-03 20:59:46 +02:00
Matthias Thym
87fad5fd81 refactor: add missing i18n option 'es' 2021-03-27 14:38:36 +01:00
Matthias Thym
21a5834a2f i18n: German translation 2021-03-27 14:38:36 +01:00
Jimmy Cai
9befda7310
refactor: add exampleSite menu using FrontMatter (#167) 2021-03-07 13:02:39 +01:00
Jimmy Cai
79d8c1db38
feat: Tencent video shortcode and remark42 integration (#143)
* 增加remark42的评论系统支持,config中增加对应配置。

* remark42评论系统,语言配置加入到config中,修正切换theme时评论区跟随主题切换。

* - 新增腾讯视频的支持
- 支持通过frontmatter配置在文章中插入音频

* 更新readme

* Delete README.md

* Create README.md

* Remove MetingJS

* fix(shortcode/tencent): switch to HTML5

The old one was showing video using Flash.

* style(comments): clean remark42 integration code

Co-authored-by: wood <wood@hfge.cn>
Co-authored-by: Wood <34589275+hfge@users.noreply.github.com>
2021-02-13 11:10:24 +01:00
Julian Alarcon
83e3a4e8e1
feat: Google Analytics support (#135)
* Added Google Analytics feature

* style: load GA script before head/custom

* style(config): googleAnalytics field empty by default

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-02-11 18:56:39 +01:00
Jimmy Cai
a8718592df
fix(utterances): set color scheme on load (#138)
* fix(utterances): set color scheme on load

Remove utterances.theme option from config.yaml

* fix(utterances): restore async tag
2021-02-11 18:46:23 +01:00
Jimmy Cai
efa3452cdb
refactor(widget/archives): remove .widgets.archives.path config
The theme will automatically detect the permalink to the archives page.
2021-01-01 13:16:11 +01:00
Jimmy Cai
2ad65a4c07
feat: add option to disable image processing (#83)
* feat: add option to disable image processing

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

* refactor(list): use article/components/header inside default.html

* refactor: use .Fill for cover image
2020-12-23 21:02:35 +01:00
Jimmy Cai
358e63e799
feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle

* fix(darkmode): add svg icons

* feat(darkmode): dispatch onColorSchemeChange event

* add head/darkmode

* feat(darkmode); add colorScheme config

* style: remove empty line

* refactor(darkmode): simplify code

* style: add comment for darkmode config

* i18n support for dark mode toggle

* Some renaming
2020-12-23 19:03:40 +01:00
Jimmy Cai
e606dca404
refactor(article): remove color tag & add custom category color (#75)
closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/71
2020-12-22 19:43:14 +01:00
Jimmy Cai
cea1064927
feat(footer): add copyright since & custom text (#74)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/55
2020-12-20 12:34:44 +01:00
Jimmy Cai
ddd6aa2d20
feat(head): add favicon setting in config.yaml (#73)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/42
2020-12-20 11:38:49 +01:00
Jimmy Cai
25a72940b8
refactor(opengraph): add default value for twitter:card (#72) 2020-12-20 11:05:34 +01:00
Jimmy Cai
e9c1abac93
refactor(config): use YAML instead of TOML (#65)
* refactor(config): use YAML instead of TOML

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

* refactor(config.yaml): clear up

* style(config): formatting & add i18n comment
2020-12-15 10:59:52 +01:00
Victor Lourme
f919b8bd90
feat(sidebar): add support for external avatar (#53)
add [params.sidebar.avatar] section in config.toml, with 2 fields: local and src

Migration guide:
 - Copy the old value of `params.sidebar.avatar` to `param.sidebar.avatar.src`
 - Set params.sidebar.avatar.local = true

Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2020-12-11 16:33:02 +01:00
Jimmy Cai
b3df22940d
Merge branch 'master' into template-search 2020-10-31 23:37:36 +01:00
Jimmy Cai
d6b0f10241 fix(exampleSite): remove Instagram shortcode
ref https://github.com/gohugoio/hugo/issues/7866

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/41
2020-10-26 17:38:16 +01:00
Jimmy Cai
c266204f98
Merge branch 'master' into template-search 2020-10-10 10:05:31 +02:00
Jimmy Cai
1c30df93d4
test: add CJK taxonomy to example post 2020-10-09 20:08:27 +02:00
Romain
14dacb5448
Merge branch 'master' into fix 2020-10-09 19:27:31 +02:00
romainx
ddebaee028 Fix tags and categories using GetTerms
See [documentation](https://gohugo.io/templates/taxonomy-templates/#display-a-single-piece-of-contents-taxonomies)
2020-10-09 19:26:28 +02:00
Jimmy Cai
8e8509177d
Merge branch 'master' into template-search 2020-10-09 19:12:50 +02:00
Jimmy Cai
b3a4f3b156
doc(exampleSite): add lastmod field to about page
To test last updated output
2020-10-09 19:03:56 +02:00
Jimmy Cai
3bc73a8b48
Merge branch 'master' into template-search 2020-10-05 22:41:47 +02:00
Jimmy Cai
809fa7860d
refactor(config): add line break between sections (#26)
For better readability
2020-10-05 08:56:03 +02:00
Jimmy Cai
d461267734
refactor(config): deprecate article default image
Remove [params.defaultImage.article] and [params.defaultImage.articleList] from config.toml
2020-10-05 08:14:51 +02:00
Jimmy Cai
17d77155bf
Merge branch 'master' into template-search 2020-10-04 16:27:22 +02:00
Jimmy Cai
9fcdedf042
feat(comments): add utterances support
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/21
2020-10-04 16:23:08 +02:00
Jimmy Cai
b027cbf5aa
Merge branch 'master' into template-search 2020-10-04 16:05:02 +02:00
ress
c2e8d7fc5b
fix(config.toml): typo Licenced -> Licensed (#22) 2020-10-03 22:24:28 +02:00
Jimmy Cai
08102e2f69
feat(exampleSite): add search page and widget 2020-09-26 12:06:56 +02:00
Jimmy Cai
d55cc303d4
feat(rss): add RSS template
fix: hidden post being shown in RSS output
feat: add config to output full content in RSS
2020-09-23 22:32:20 +02:00
Jimmy Cai
b14ca5d15b
feat(article): add KaTeX support 2020-09-21 16:22:44 +02:00
Jimmy Cai
69e41b1c0d
ci(netlify): move plugins folder to exampleSite 2020-09-17 22:30:21 +02:00
Jimmy Cai
96ff911c6e
feat(article): better syntax highlight style
Adapt to light & dark mode
2020-09-17 19:48:21 +02:00
Jimmy Cai
4267346a4a
fix: use absLangURL for menu url
To avoid problem when the site is hosted in subdirectory
2020-09-13 14:03:41 +02:00
Jimmy Cai
b06910fc5d
feat: add avatar placeholder to assets/img 2020-09-13 11:30:31 +02:00
Jimmy Cai
c12de4db04
refactor: rename archive -> archives in config.toml
And rename SVG icon.
2020-09-13 11:26:12 +02:00
Jimmy Cai
7379bbe412
refactor: rename archive -> archives 2020-09-13 11:22:47 +02:00
Jimmy Cai
294f445e0a
doc(config.toml): change baseurl to https://example.com
Following Hugo theme showcase guideline
2020-09-13 10:51:31 +02:00
Jimmy Cai
b64cbe1ef8
refactor(head): remove favicon output
It's better to use favicon generator tools, and paste HTML in head/custom.html
2020-09-11 21:59:05 +02:00
Jimmy Cai
5f7e818b92
refactor(head/opengraph): split code into modules 2020-09-11 21:55:15 +02:00
Jimmy Cai
a2732a312a
feat(image): add article and article list default image settings 2020-09-11 18:07:29 +02:00
Jimmy Cai
2acd380e98
feat(helper/image): customize field used to get featured image 2020-09-11 17:54:16 +02:00
Jimmy Cai
a2662603df
feat(helper/image): new way to set default image 2020-09-11 16:27:23 +02:00
Jimmy Cai
4d0e260318
feat(i18n): make dateFormat part of theme config 2020-09-09 17:35:22 +02:00
Jimmy Cai
ed4a43096c
feat(i18n): initial support for i18n 2020-09-09 17:17:09 +02:00