2024-01-21 15:39:19 +11:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
|
2024-01-26 11:00:26 +11:00
|
|
|
{% block feed %}
|
|
|
|
<link href="newsletter-editions/feed" type="application/atom+xml" rel="alternate" title="Aus GLAMR Newsletters" />
|
|
|
|
{% endblock %}
|
|
|
|
|
2024-01-21 15:39:19 +11:00
|
|
|
{% block content %}
|
|
|
|
{% for edition in latest %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-title">
|
|
|
|
<a href="{{ edition.url }}"><h4>{{ edition.title }}</h4></a>
|
|
|
|
<p class="meta">
|
|
|
|
{% if edition.author_name %}
|
|
|
|
<span class="author_name">{{ edition.author_name }}</span> |
|
|
|
|
{% endif %}
|
2024-01-26 11:00:26 +11:00
|
|
|
<span class="blog_title">{{ edition.newsletter.name }}</span>
|
2024-01-21 15:39:19 +11:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% if edition.description %}
|
|
|
|
<div class="card-body">
|
|
|
|
{% autoescape off %}
|
|
|
|
<p>{{ edition.description|truncatewords_html:60 }}</p>
|
|
|
|
{% endautoescape %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2024-01-26 11:00:26 +11:00
|
|
|
{% empty %}
|
|
|
|
<p>Oh no! There are no editions available. Try checking out <a href="{% url 'blog-articles' %}">some blog posts</a>.</p>
|
2024-01-21 15:39:19 +11:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|