Hexo Generator Amp Versions Save

AMP ⚡ HTML (Accelerated Mobile Pages) generator for Hexo.

3.0.12

6 years ago
  1. Plugin supported Stylus and Sass. Please see it.

    How to customize css of sample AMP template ? https://github.com/tea3/hexo-generator-amp/wiki/How-to-customize-css-of-sample-AMP-template-%3F

  2. Pug template supported

    Plugin supported pug template . In addition to ejs , the plugin also able to render pug.

  3. Follow redirect supported

    https://github.com/tea3/hexo-generator-amp/pull/34/files

3.0.7

6 years ago

I updated the theme of the sample greatly. To use new template , please replace sample-amp.css and sample-amp.ejs in https://github.com/tea3/hexo-generator-amp/tree/master/template. next , please set the theme: option when necessary.

Also , you can generate a CSS file from STYLUS. To generate css , please see how-to-customize-css-file.md

2.0.13

7 years ago

change log :

  • Supports automatic acquisition of external image width and height. #22
  • Added validateAMP option. To use Internal Validation (Automatically validate AMP HTML) , please set the validateAMP: true. Please see Validate AMP HTML for more detail.
  • fixed sample template .