Put similar content above comments

This commit is contained in:
Jake Howard 2024-02-10 15:06:01 +00:00
parent c69d8d8329
commit a19964199f
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,11 +1,11 @@
{% extends "common/content_page.html" %} {% extends "common/content_page.html" %}
{% load wagtail_cache %} {% load wagtail_cache navbar_tags %}
{% block post_content %} {% block post_content %}
{{ block.super }}
{% if not request.is_preview %} {% if not request.is_preview %}
{% include "common/shareon.html" %}
{% wagtailpagecache FRAGMENT_CACHE_TTL "similar-content" %} {% wagtailpagecache FRAGMENT_CACHE_TTL "similar-content" %}
<section class="container similar-content" id="similar-content"> <section class="container similar-content" id="similar-content">
<h2 class="subtitle is-size-2">Similar content</h2> <h2 class="subtitle is-size-2">Similar content</h2>
@ -22,5 +22,11 @@
</section> </section>
{% endwagtailpagecache %} {% endwagtailpagecache %}
{% include "common/comments.html" %}
{% if not request.user.is_authenticated %}
{% support_pill %}
{% endif %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}