Open bstegmaier opened 7 years ago
Summary The low resolution cover image is not configurable and hard-coded as /images/cover.low.jpg.
/images/cover.low.jpg
Steps to reproduce
static/images/cover*
static/images/any_name_other_than_cover.jpg
cover = "/images/any_name_other_than_cover.jpg"
Result Chrome console complains about a non-existing /images/cover/low.jpg file.
/images/cover/low.jpg
Suggested fix How about making the low res cover configurable via e.g. .Site.Params.coverLow? This is the relevant line: https://github.com/Zenithar/hugo-theme-bleak/blob/a8dcb798ae7f98ace354f42c3a23b40fa2c54542/layouts/index.html#L13
.Site.Params.coverLow
PR are welcome ^^
Sounds like a great idea. Basically making the low res version of the cover image an optional feature.
Summary The low resolution cover image is not configurable and hard-coded as
/images/cover.low.jpg
.Steps to reproduce
static/images/cover*
filesstatic/images/any_name_other_than_cover.jpg
Result Chrome console complains about a non-existing
/images/cover/low.jpg
file.Suggested fix How about making the low res cover configurable via e.g.
.Site.Params.coverLow
? This is the relevant line: https://github.com/Zenithar/hugo-theme-bleak/blob/a8dcb798ae7f98ace354f42c3a23b40fa2c54542/layouts/index.html#L13