Add references to RSS feeds to HTML

This commit is contained in:
Jake Howard 2022-08-17 08:45:15 +01:00
parent c5e662f2d8
commit 0fa1d1c8be
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 13 additions and 0 deletions

View file

@ -1,5 +1,11 @@
{% 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 %}
<section class="container">
{% for page in child_pages %}

View file

@ -1,5 +1,11 @@
{% 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 %}
<section class="container">
{% for page in pages %}

View file

@ -13,6 +13,7 @@
</title>
<meta name="description" content="" />
<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 'contrib/fontawesome/css/all.min.css' %}">