nprapps / liveblog-standalone

NPR's liveblog rig 2.0
Other
6 stars 1 forks source link

image-embed should have an actual image in it #54

Closed thomaswilburn closed 4 years ago

thomaswilburn commented 4 years ago

For the most part, we don't worry about server-rendering markup inside the custom elements, because they can't really do anything on the server. But the images are different, since they're really more of a template for including a layout wrapper and a credit line than real functionality (they technically do lazy-loading as well, but we could rely on loading=lazy).

This may just be a special case where we have some templating in place as a part of the rendering step. We'll see.