josephhutch / aether

A responsive and clean Hugo theme for blogs
MIT License
146 stars 70 forks source link

failed to render shortcode "smallimg", featuredImage didn't show up #36

Closed siggyraven closed 5 years ago

siggyraven commented 5 years ago

when I copy all the files from exampleSite folder this is what happened, Result: Untitled-1 I try this in localhost and Netlify and has the same result.

If I delete aether-features.md site work normally but the featuredImage didn't show up Result: Untitled-2

I just want to see the themes work like in your screenshot.

josephhutch commented 5 years ago

Sorry, I made changes to the way images work over the weekend but didn't update the example site. The latest commit fixes these issues. Let me know if you run into any other issues.

* One thing to note is that the image and smallimg shortcodes look for the image using the name field. If you overwrite the image name in the resources section of the front matter, you will need to use the new name in the src field of the image and smallimg shortcodes. This should only occur when displaying the featuredImage using either of the image shortcodes.

siggyraven commented 5 years ago

Thank you very much, everything works fine now.