{% extends 'layout.html' %}
{% block title %}Announcements{% endblock %}
{% block content %}
	{% if not announcement_medium %}
		<h1>No announcements yet</h1>
	{% else %}
		{% include 'announcement.html' %}
		{% from 'pages_list.jinja' import pages_list %}
		{{ pages_list(
			total_pages=total_pages,
			url=url_for(
				'persephone.announcements',
				page='PAGE',
			).replace('page=PAGE', 'page={}'),
			current_page=page,
		) }}
		{% if (
				g.persephone_config['optional_packages']['comments']
				and 'su