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
1 changed files with 9 additions and 3 deletions

View File

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