Commit Graph
278 Commits
Author SHA1 Message Date
Jimmy CaiandGitHub 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
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 PessoaandGitHub 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 CaiandGitHub 50b3ed18e3 Merge branch 'master' into translations 2020-11-28 12:16:38 +01:00
Jimmy CaiandGitHub 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 CaiandGitHub 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 YasserandGitHub 37a2090739 fix(article): related contents is showing hidden post 2020-11-06 16:19:26 +08:00
Ahmad YasserandGitHub a3f1d84c51 fix(article): related contents is showing hidden post 2020-11-06 11:10:30 +08:00
Jimmy CaiandGitHub 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 CaiandGitHub 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 CaiandGitHub 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 CaiandGitHub 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
RomainandGitHub 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 CaiandGitHub 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 CaiandGitHub 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 CaiandGitHub 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 CaiandGitHub d292727821 Merge branch 'master' into custom-taxonomy-permalink 2020-09-18 00:35:43 +02:00