hexo-theme-cards
hexo-theme-cards copied to clipboard
AMP Support
Though Google said AMP does not directly affect SEO ranking, often do we see AMP sites result higher ranks in mobile users queries. Any planned integration for AMP?
AMP is a simple and robust format to ensure your website is fast, user-first, and makes money. AMP provides long-term success for your web strategy with distribution across popular platforms and reduced operating and development costs.
For your reference, here's how a plugin turns Hexo blogs into amp-enabled websites. hexo-generator-amp
The first step requires modifying the head.ejs
<% if (is_post() && config.generator_amp){ %>
<link rel="amphtml" href="<%= config.url %><%= config.root %><%= page.path %>/amp/index.html">
<% } %>
that's worthy to tryout, I believe ;)