Commit Graph
28 Commits
Author SHA1 Message Date
Jimmy Cai b14ca5d15b feat(article): add KaTeX support 2020-09-21 16:22:44 +02:00
Jimmy Cai 117dd4b81e fix(article/details): fix custom taxonomy link 2020-09-18 20:05:19 +02:00
Jimmy CaiandGitHub 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 cf6502c311 feat: add partialCached to helper/image invocation
Using .RelPermalink as key for cache
2020-09-17 21:52:06 +02:00
Jimmy Cai 2451b194dc refactor: use relLangURL to build relative links
For better i18n support

Fixes archive page path
Remove tag cloud term exclusion

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/8
2020-09-13 10:14:17 +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 a2662603df feat(helper/image): new way to set default image 2020-09-11 16:27:23 +02:00
Jimmy Cai cfd4cdb731 feat(helper/image): new return format 2020-09-11 16:01:01 +02:00
Jimmy Cai 28c06ef8ae feat(helper/image): new image helper (WIP) 2020-09-10 18:53:36 +02:00
Jimmy Cai 04454a51ea feat(i18n): change lastUpdatedOn item struct 2020-09-09 22:41:42 +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
Jimmy Cai c546964ce4 feat(comments): prepare for more third party comments system integration 2020-09-08 23:30:15 +02:00
Jimmy Cai d2cc93d5c7 fix(article/footer): display last updated time only when it's different to article publish time 2020-09-06 20:33:23 +02:00
Jimmy Cai 0cac2218e3 feat(article): display last updated time of a post 2020-09-06 20:26:18 +02:00
Jimmy Cai 3742a0775b feat(article/details): better article time display 2020-09-06 20:10:25 +02:00
Jimmy Cai 90bdc34eb8 feat(article): custom license per article 2020-09-06 14:02:48 +02:00
Jimmy Cai 0745285e71 feat(config.toml): change config structure for article license 2020-09-06 13:58:21 +02:00
Jimmy Cai 47fb5af201 refactor: change config.toml structure 2020-09-06 12:56:44 +02:00
Jimmy Cai 99eb6cdfd0 feat(article/related contents): style change 2020-09-05 00:50:08 +02:00
Jimmy Cai 6b1e660327 refactor(ts/color): improve code style and change name of some variables for more clarity 2020-08-29 11:43:00 +02:00
Jimmy Cai 746537a801 refactor(article): add components/details 2020-08-29 11:34:26 +02:00
Jimmy Cai 32732d4bf1 feat: avoid regenerate color scheme when image URL is changed
Use MD5 as key to identify images, and .Slug as id
2020-08-28 12:11:02 +02:00
Jimmy Cai e120f3ae18 refactor(article): split article.html into header, content and footer partials 2020-08-24 19:27:51 +02:00
Jimmy Cai c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00