boratanrikulu / eternity

A minimalist Hugo theme designed for portfolio sites.
https://eternity.bora.sh
MIT License
237 stars 78 forks source link

error with exif when i add my personnal image #78

Closed Juniors017 closed 9 months ago

Juniors017 commented 10 months ago

hi when i had my image i look this probleme :

ERROR Rebuild failed: render: failed to render pages: render of "page" failed: "C:\Users\valen\Documents\Site\flo\FCart2\themes\eternity\layouts_default\single.html:6:4": execute of template failed at <partial "slides/slide.html" (dict "disableFullheight" true "ctx" .)>: error calling partial: "C:\Users\valen\Documents\Site\flo\FCart2\themes\eternity\layouts\partials\slides\slide.html:28:19": execute of template failed at <$img.Exif>: nil pointer evaluating interface {}.Exif Total in 19 ms

If hi add image my url is - /assets/images/wolf_ice_sticker_design.png but i have error when i change by /images/wolf_ice_sticker_design.png it's Ok but i don't add manualy url i use this code in frontmatter.json for add easly image.

`{
          "title": "images",
          "name": "images",
          "type": "image",
          "multiple": true,

        }`
boratanrikulu commented 9 months ago

[!WARNING]
This project is currently not being actively maintained.
Please do not create new issues on GitHub.