Hexo Generator Amp

screenshot of Hexo Generator Amp

Hexo Generator Amp

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


hexo-generator-ampAMP is an HTML generator for Hexo that allows users to easily generate AMP (Accelerated Mobile Pages Project HTML) sites. It automatically generates new AMP HTML pages, allows for customization of the AMP HTML template, validates AMP HTML pages automatically, improves generation speed with cache mode, and supports external services.


  • Automatically generates new AMP HTML pages
  • Freely customize AMP HTML template
  • Automatically validate AMP HTML pages
  • Improve generation speed (Cache mode)
  • Supports external services


To install hexo-generator-ampAMP, follow these steps:

  1. Edit your theme: Add AMP HTML's link to the non-AMP version of your template files.
  2. Set the quick option: Adjust the options in the _config.yml file.
  3. Run server: Start a local server at http://localhost:4000/. The plugin will generate the AMP HTML.
  4. Validate AMP HTML: Validate the generated AMP HTML using Chrome DevTools or the command line.
  5. Deploy: If there are no AMP HTML validation errors, you can deploy your site.

For more detailed instructions and customization options, please refer to the wiki.


hexo-generator-ampAMP is a powerful tool for Hexo users to generate AMP HTML pages with ease. It offers features such as automatic generation, customization, and validation of AMP HTML pages. It is easy to install and provides options for adjusting the settings based on your needs. Additionally, it supports external services and improves generation speed. With hexo-generator-ampAMP, users can create AMP sites without much effort and enhance the mobile experience for their audience.


Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.


SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.


Blog websites feature posts written by one or more authors, organized by categories and tags, with a section for comments and archives sorted by date or topic. Additional features may include search bar, social media sharing, subscription or RSS feed, about and contact pages, and visual content.


Pug is a high-performance template engine for Node.js and browsers that enables developers to write HTML templates using a concise and intuitive syntax. It supports a range of features, including template inheritance, conditionals, loops, mixins, and more, and can be easily integrated into a variety of web frameworks and build tools.