tea3 / hexo-generator-amp

AMP ⚡ HTML (Accelerated Mobile Pages) generator for Hexo.
MIT License
127 stars 28 forks source link

Consider adding layout="responsive" to example template for images. #5

Closed matthewsanders closed 8 years ago

matthewsanders commented 8 years ago

Could simply default to responsive:

<amp-img src="/<%= config.generator_amp.logo.path %>" width="<%= config.generator_amp.logo.width %>" height="<%= config.generator_amp.logo.height %>" layout="responsive">

OR

could add this as a configuration. #9

tea3 commented 8 years ago

@matthewsanders Thank you very much.