Markdown render hook image for AMP template not working

I try to creating render hook image template for AMP but not working. Is render hook image template for AMP not support yet?
My layouts folder structure look like this:

└── _default
    └── _markup
        ├── render-image.html
        ├── render-image.amp.html
        └── render-link.html

Please follow the advice at Requesting Help.

I am also experiencing the same issue on (branch enable-amp; note that theme is a submodule).

If I go to http://localhost:1313/amp/recipe/andy-chai/, the page is using the normal render-image.html instead of the AMP render-image.amp.html. The expected result would be an <amp-img> instead of an <img>.

Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: unknown
1 Like

Render Hooks with different output formats is also not working for me.

Hugo Static Site Generator v0.68.3-157669A0 darwin/amd64 BuildDate: 2020-03-24T12:08:19Z

Hey, i got the same problems.

Hugo Static Site Generator v0.69.2/extended linux/amd64 BuildDate: unknown

Here’s an recently open issue from this problem on GitHub:

Maybe bumping it there can help give it more visibility.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.