Commit Graph
19 Commits
Author SHA1 Message Date
Jimmy CaiandGitHub 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 b5645f0180 refactor: use relative link for hyperlinks 2020-10-31 23:24:58 +01:00
Jimmy Cai 96897be941 feat(article list): article clickable and equal height 2020-09-24 23:59:00 +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 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 1e28a661d9 fix(article list): specify image width in srcset 2020-09-14 13:37:50 +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 4d0e260318 feat(i18n): make dateFormat part of theme config 2020-09-09 17:35:22 +02:00
Jimmy Cai 7f3d906f24 feat(article list/default): better thumbnail 2020-09-06 19:51:16 +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 9cb3115914 feat(article list): make featured image clickable 2020-08-25 21:16:47 +02:00
Jimmy Cai 415b8a7a0a fix(article list): show all categories assigned to a post 2020-08-25 21:15:25 +02:00
Jimmy Cai c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00