zhixuan
2c0bf8c940
feat: Add support for Google Analytics v4 ( #214 )
2021-06-12 09:51:31 +02:00
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
zhixuan
7dab67b358
refactor(opengraph/twitter): add @ before username ( #186 )
...
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/twitter_cards.html
2021-04-07 10:31:25 +02:00
Jimmy Cai
1300e0d714
release: 2.3.0
2021-03-27 23:39:29 +01:00
Jimmy Cai
3e8490da1d
fix: incorrect image & menu path for site hosted in subdir ( #168 )
2021-03-07 13:13:07 +01:00
Jimmy Cai
d5268a41e0
refactor(article): add default padding ( #166 )
...
* refactor(article): add default padding
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/165
* fix(article): video iframe margin
* fix: remove youtube iframe border
2021-03-07 12:51:47 +01:00
Jimmy Cai
cef9fe2549
release: v2.2.0
2021-02-13 16:30:01 +01:00
Jimmy Cai
79412144d9
fix: disable svg image processing ( #144 )
...
* fix: disable svg image processing
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/132
* style: remove extra blank space
2021-02-13 12:57:19 +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
Jimmy Cai
6c27767dac
release: 2.1.0
2021-02-12 14:57:51 +01:00
Jimmy Cai
8b17b8a4ee
feat: add data/external.yaml ( #140 )
...
* feat: add data/external.yaml
Manage all external resources URL in one file
* style: format data/external
* style(helper/external): error message
* remove whitespace
2021-02-12 13:21:43 +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
70cc14fcbe
feat(list): display subsections in list style when there are no normal pages ( #121 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/116
2021-01-07 11:28:16 +01:00
Jimmy Cai
84dd80959a
fix: make Disqus / Utterances follow the global color scheme ( #111 )
...
* fix: make Disqus / Utterances follow the global color scheme
* fix: check if DISQUS exists before executing DISQUS.reset
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/107
2021-01-01 13:32:19 +01:00
Jimmy Cai
2ee854dd6a
fix(search): add missing i18n text ( #110 )
2021-01-01 13:24:26 +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
5ac2552e7c
fix(widget/search): remove hardcoded form action
2021-01-01 13:12:23 +01:00
Jimmy Cai
ae477ab224
refactor(archives): remove archive.categories i18n item ( #108 )
...
It's possible in the future to display another kind of taxonomy.
To translate that title, create _index.md under content/categories, with the following content:
---
title: Category
---
2021-01-01 13:04:37 +01:00
zoxoy
bccb62cd46
feat: add bilibili shortcode ( #97 )
2020-12-30 09:28:22 +01:00
Jimmy Cai
464f4b1d3b
chore: release 2.0.1
2020-12-26 09:14:49 +01:00
Jimmy Cai
a5820c6f52
fix(search): wrong permalink to page ( #93 )
...
- Show external image
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/92
2020-12-25 09:39:04 +01:00
Jimmy Cai
3326cf886a
fix: dark mode toggle inconsistent positioning ( #89 )
2020-12-24 11:06:58 +01:00
Jimmy Cai
39dd18e603
feat(math): add inline math support ( #88 )
2020-12-24 10:57:01 +01:00
Jimmy Cai
e937a14367
chore: release 2.0.0
2020-12-23 23:21:50 +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
7d841cf237
feat(list): add subsection support ( #81 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/48
2020-12-22 21:14:50 +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
31c42bcfe7
refactor(gallery): rewrite gallery ( #79 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/70
2020-12-22 19:35:37 +01:00
Jimmy Cai
33685fb878
fix(list): section title style ( #76 )
2020-12-21 17:26:58 +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
d205753323
refactor(i18n): translation key renaming ( #68 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
2020-12-19 01:41:26 +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
Daniel Pessoa
bfeddf3217
feat(i18n): Coverage improvements ( #59 )
...
* Replace hardcoded text with i18n
* Add categoriesTitle text
* Add categoriesTitle text
* Add new strings available
Co-authored-by: Daniel Pessoa <cobalto@users.noreply.github.com>
2020-12-11 16:11:47 +01:00
Jimmy Cai
81c0b1ba9c
i18n: add variables for footer translation
2020-11-28 12:29:43 +01:00
Jimmy Cai
50b3ed18e3
Merge branch 'master' into translations
2020-11-28 12:16:38 +01:00
Jimmy Cai
b36cf5cc4e
style: add indent to /partials/sidebar/left.html
2020-11-23 10:47:22 +01:00
Victor Lourme
2b4f529404
i18n: added footer translations
2020-11-23 10:15:47 +01:00
Victor Lourme
f763adfa60
sidebar: hide emoji placeholder when no emoji is specified
2020-11-23 10:01:39 +01:00
Jimmy Cai
cd408279e4
release: 1.1.0 version
2020-11-08 00:28:30 +01:00
Jimmy Cai
efa7ff14b7
refactor(search): remove .search-result--title style
2020-11-06 12:13:12 +01:00
Jimmy Cai
a81dac7bb0
Merge branch 'master' into template-search
2020-11-06 12:09:23 +01:00
Jimmy Cai
c018f4967a
feat(search): i18n support
2020-11-06 11:49:30 +01:00
Ahmad Yasser
37a2090739
fix(article): related contents is showing hidden post
2020-11-06 16:19:26 +08:00
Ahmad Yasser
a3f1d84c51
fix(article): related contents is showing hidden post
2020-11-06 11:10:30 +08:00
Jimmy Cai
b3df22940d
Merge branch 'master' into template-search
2020-10-31 23:37:36 +01:00
Jimmy Cai
b5645f0180
refactor: use relative link for hyperlinks
2020-10-31 23:24:58 +01:00
Jimmy Cai
c666c79800
Merge branch 'master' into template-search
2020-10-17 10:45:17 +02:00
Jimmy Cai
5c55bd2d33
feat(widget): new archive widget style
2020-10-17 10:34:36 +02:00
Jimmy Cai
34cd7852bc
refactor: remove partialCached from sidebar/right
2020-10-17 10:34:02 +02:00
Jimmy Cai
49e568faac
refactor: add .section-title ( #36 )
...
For the small title before the card
Remove .widget-title, .archive-date, .taxonomy-type from SCSS, as they all share the same style.
2020-10-12 20:49:56 +02:00
Jimmy Cai
26fedaebd2
refactor(search): include icon using helper/icon
2020-10-12 20:31:40 +02:00
Jimmy Cai
c266204f98
Merge branch 'master' into template-search
2020-10-10 10:05:31 +02:00
Jimmy Cai
a4418951d0
release: 1.0.5 version
2020-10-10 09:57:04 +02:00
Jimmy Cai
9df7271547
refactor: remove humanize function from taxonomy name
2020-10-10 09:13:40 +02:00
Jimmy Cai
871e8c0bd5
feat(helper): add helper/icon
2020-10-10 00:27:56 +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
8d508fb796
refactor(i18n/article): remove date variable from lastUpdatedOn item
...
Due to Hugo v0.76's i18n behaviour change
2020-10-09 19:01:37 +02:00
romainx
1d95c4b8ff
Fix categories with special char or spaces not displayed correctly
...
Call to [`urlize`](https://gohugo.io/functions/urlize/ ) to get the category url instead of using its name directly.
2020-10-09 09:49:19 +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
Jimmy Cai
8aeb562bb3
feat(search): preload search.json
2020-10-04 15:45:23 +02:00
Jimmy Cai
bd8e03ba61
fix(rss): remove featured image width height attr
...
Throws error when featured image is not found inside page bundle.
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/20
2020-09-28 16:12:52 +02:00
Jimmy Cai
c19780280e
feat: add "head" block
2020-09-26 23:00:48 +02:00
Jimmy Cai
6e48765d82
fix(search): HTML escape issue
2020-09-26 22:50:23 +02:00
Jimmy Cai
21f461ce78
feat(widget): add search widget
2020-09-26 11:40:52 +02:00
Jimmy Cai
e5f96c8762
feat: add search template
2020-09-26 11:40:33 +02:00
Jimmy Cai
96897be941
feat(article list): article clickable and equal height
2020-09-24 23:59:00 +02:00
Jimmy Cai
c6661196ad
release: version 1.0.4
2020-09-23 23:54:50 +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
26acceb37d
feat(scss): improve 2 column style
2020-09-23 13:20:18 +02:00
Jimmy Cai
b14ca5d15b
feat(article): add KaTeX support
2020-09-21 16:22:44 +02:00
Jimmy Cai
0cee4930e2
fix(disqus): fix container padding
...
Rename `--content-padding` to `--card-padding`
2020-09-20 23:45:44 +02:00
Jimmy Cai
9d76ab371f
feat(archive widget): improve "more" link
...
Link it to the next available year
2020-09-20 13:26:10 +02:00
Jimmy Cai
0bcfb160f1
fix: use .RelPermalink to include CSS
2020-09-20 11:33:32 +02:00
Jimmy Cai
117dd4b81e
fix(article/details): fix custom taxonomy link
2020-09-18 20:05:19 +02:00
Jimmy Cai
b2a1afd744
feat(tag cloud): add support for custom taxonomy link
2020-09-18 10:58:38 +02:00
Jimmy Cai
d292727821
Merge branch 'master' into custom-taxonomy-permalink
2020-09-18 00:35:43 +02:00
Jimmy Cai
93146c9dc3
fix: add .Type as second cache key for helper/image
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/12
2020-09-18 00:12:26 +02:00
Jimmy Cai
b540350d76
feat(article): add support for custom taxonomy link
2020-09-18 00:00:39 +02:00
Jimmy Cai
c74cc3e4b3
feat(article): add partialCached to article/components/details
...
Avoid rendering twice (in post list and article page)
2020-09-17 23:13:50 +02:00
Jimmy Cai
bad33e19ae
feat(post/single): add partialCached for PhotoSwipe HTML
...
Forgot to add it
2020-09-17 22:09:15 +02:00
Jimmy Cai
8f0d420d24
feat: add partialCached for data/title data/description
2020-09-17 21:59:57 +02:00
Jimmy Cai
cf6502c311
feat: add partialCached to helper/image invocation
...
Using .RelPermalink as key for cache
2020-09-17 21:52:06 +02:00
Jimmy Cai
9a64b7a6f1
feat: partialCached for PhotoSwipe HTML
2020-09-17 21:46:48 +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
845834baa6
refactor(footer): add footer/include.html
...
To include HTML code for style and script
2020-09-17 19:47:03 +02:00
Jimmy Cai
841508f491
fix(menu): use <ol> to wrap menu items
2020-09-14 13:38:24 +02:00
Jimmy Cai
1e28a661d9
fix(article list): specify image width in srcset
2020-09-14 13:37:50 +02:00
Jimmy Cai
8c4ad17a09
feat(footer): add rel="noopener" to footer links
2020-09-14 13:37:15 +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
7379bbe412
refactor: rename archive -> archives
2020-09-13 11:22:47 +02:00
Jimmy Cai
c600f87213
feat: make archive template available for all sections
2020-09-13 11:00:19 +02:00