Releases: tea3/hexo-generator-amp
Stylus and Sass and Pug supported
-
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 -
Pug template supported
Plugin supported pug template . In addition to ejs , the plugin also able to render pug.
-
Follow redirect supported
https://github.com/tea3/hexo-generator-amp/pull/34/files
Sample template updated
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
version 2.0.13
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 thevalidateAMP: true
. Please see Validate AMP HTML for more detail. - fixed sample template .