We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to install amp in my blog (use swig view template engine) What should I do?
<% if (is_post() && config.generator_amp){ %>
'<link rel="amphtml" href="./amp/index.html"'
<% } %>
please help me :(
The text was updated successfully, but these errors were encountered:
@Lutece Hi , Thank you for using this plugin . Can you edit follow as ?
https://github.com/iissnan/hexo-theme-next/blob/master/layout/_partials/head.swig
{% if is_post() && config.generator_amp %} <link rel="amphtml" href="./amp/index.html"> {% endif %}
Sorry, something went wrong.
i follow this steps;
{% if is_post() && config.generator_amp %} link rel="amphtml" href="./amp/index.html" {% endif %}
generator_amp: templateDir: amp-template assetDistDir: amp-dist logo: path: sample/sample-logo.png width: 600 height: 60 substituteTitleImage: path: sample/sample-substituteTitleImage.png width: 1024 height: 800 warningLog: false # If you want to validate, please set true.
how to check to apply amp in myblog is this step wrong for amp settings?
myblog is http://lutece.github.io
@Lutece Yes, that’s fine :D
No branches or pull requests
I want to install amp in my blog (use swig view template engine)
What should I do?
<% if (is_post() && config.generator_amp){ %>
'<link rel="amphtml" href="./amp/index.html"'
<% } %>
please help me :(
The text was updated successfully, but these errors were encountered: