Farrel Franqois
2bfdb47ce7
fix: Incorrect if statement in imageProcessing.cover.enabled
...
The incorrect `.context.Site.Params.imageProcessing.cover.enabled` if statement will make Hugo still process the image, even if the `.Site.Params.imageProcessing.cover.enabled` has been set to `false`.
So, the equal condition is needed to ensure that option is truly enabled.
2022-06-11 14:29:55 +07:00
Jimmy Cai
3a79e9856e
fix: read imageProcessing.cover.enabled
correctly ( #621 )
2022-06-05 18:21:08 +02:00
zhixuan
497643b363
feat: add alt message for archive & related contents images ( #411 )
2021-12-04 21:05:53 +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
b5645f0180
refactor: use relative link for hyperlinks
2020-10-31 23:24:58 +01: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
cf6502c311
feat: add partialCached to helper/image invocation
...
Using .RelPermalink as key for cache
2020-09-17 21:52:06 +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
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
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
c698d944e6
🎉 Initial commit
2020-08-22 13:20:08 +02:00