Add Site.feed_url helper and use it in the template
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
|
||||
{% block head %}
|
||||
{% if page.page_num > 1 %}<meta name="robots" content="noindex, follow">{% endif %}
|
||||
{% if page.kind == "section" %}
|
||||
<link rel="alternate" type="application/atom+xml" title="{{ page.label }}" href="{{ site.feed_url('section', page.label) }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
|
||||
Reference in New Issue
Block a user