Zenithar / hugo-theme-bleak

Bleak Ghost theme ported to Hugo
Other
151 stars 65 forks source link

Hardcoded low-resolution cover image URL #32

Open bstegmaier opened 7 years ago

bstegmaier commented 7 years ago

Summary The low resolution cover image is not configurable and hard-coded as /images/cover.low.jpg.

Steps to reproduce

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

Zenithar commented 7 years ago

PR are welcome ^^

curtiscde commented 7 years ago

Sounds like a great idea. Basically making the low res version of the cover image an optional feature.