Skip to content

Releases: tea3/hexo-generator-amp

Stylus and Sass and Pug supported

02 Nov 09:52
5032e13
Compare
Choose a tag to compare
  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

Sample template updated

03 Oct 09:55
Compare
Choose a tag to compare

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

19 Apr 10:14
Compare
Choose a tag to compare

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 .