Link to AMP view if we're in a node
This commit is contained in:
parent
2b528f0fff
commit
0e07cb2b1d
@ -38,6 +38,9 @@ meta(name="twitter:description", content="{{node.description}}")
|
||||
|
||||
| {% block head %}
|
||||
link(href="//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.1/themes/default/style.min.css", rel="stylesheet")
|
||||
| {% if node %}
|
||||
link(rel="amphtml", href="{{ url_for('nodes.view', node_id=node._id, _external=True) }}?format=amp")
|
||||
| {% endif %}
|
||||
| {% endblock %}
|
||||
|
||||
| {% block css %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user