wjh18 / hugo-liftoff

Minimal blog/portfolio theme with a focus on content creation and SEO best practices. An ideal choice for technical users jump-starting a personal brand.
https://hugo-liftoff.netlify.app
MIT License
93 stars 27 forks source link

layouts: image: use exact match #35

Closed smallkirby closed 1 year ago

smallkirby commented 1 year ago

Description

Use exact match to decide which image file should be rendered in render-image.html layout.

(Thank you for this great elegant Hugo theme...!)

Fixes #34

Type of change

Please delete options that are not relevant.

smallkirby commented 1 year ago

Thank you for your review.

What was missing initially was the path separator after the wildcard so it should be "/%s" instead of "%s".

I understood. I've fixed the pattern.

Please squash the commits if your prefer :pray:

wjh18 commented 1 year ago

Thanks! I'm really digging your modified version of the theme, btw.