decaporg / one-click-hugo-cms

Hugo template with Decap CMS
https://master-template-one-click-hugo-cms.netlify.app
MIT License
499 stars 300 forks source link

Use Hugo's image processing for the blog posts #784

Closed tanyabouman closed 10 months ago

tanyabouman commented 10 months ago

- Summary I put the images from each post into a folder for the post, and accessed them with Hugo's .Resources.Get. I didn't crop or resize the images at all, but that's now easy with Hugo's own image processing functions.

Fixes #19 See Folder Collections Media and Public Folder for details.

- Test plan

- Description for the changelog

Use Hugo's image processing for the blog posts