Add references to RSS feeds to HTML
This commit is contained in:
parent
c5e662f2d8
commit
0fa1d1c8be
3 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
||||||
{% extends "common/content_page.html" %}
|
{% extends "common/content_page.html" %}
|
||||||
|
|
||||||
|
{% load wagtailroutablepage_tags %}
|
||||||
|
|
||||||
|
{% block extra_head %}
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="{% routablepageurl page 'feed' %}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block post_content %}
|
{% block post_content %}
|
||||||
<section class="container">
|
<section class="container">
|
||||||
{% for page in child_pages %}
|
{% for page in child_pages %}
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
{% extends "common/content_page.html" %}
|
{% extends "common/content_page.html" %}
|
||||||
|
|
||||||
|
{% load wagtailroutablepage_tags %}
|
||||||
|
|
||||||
|
{% block extra_head %}
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="{% routablepageurl page 'feed' %}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block post_content %}
|
{% block post_content %}
|
||||||
<section class="container">
|
<section class="container">
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
</title>
|
</title>
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
{% block extra_head %}{% endblock %}
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}">
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'contrib/fontawesome/css/all.min.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'contrib/fontawesome/css/all.min.css' %}">
|
||||||
|
|
Loading…
Reference in a new issue