Add canonical tags to the plain template
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
{% block title %}{% if section %}{{ section }} — {% endif %}{{ site.name }}{% if page_num > 1 %} — Page {{ page_num }}{% endif %}{% endblock %}
|
||||
|
||||
{% block head %}<link rel="canonical" href="{{ site.origin }}{{ site.base_dir }}{% if section %}{{ section }}/{% endif %}{% if page_num == 1 %}{% else %}page-{{ page_num }}.html{% endif %}">{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
{% if section %}<h1>{{ section }}</h1>{% endif %}
|
||||
{% for item in items %}
|
||||
|
||||
Reference in New Issue
Block a user