{% extends "site_news/base.html" %}

{% block content-header-block %}
	<div class="content-header-block"><h1>Website News</h1></div>
{% endblock content-header-block %}

{% block inner-content-block %}
{% for sitenewsarticle in sitenewsarticles %}
	<div class="row sitenews-article">
		<h2 class="sitenews-article-title">{{ sitenewsarticle.title }} <span class="sitenews-article-byline">by {% firstof sitenewsarticle.author.get_full_name sitenewsarticle.author.username 'Unknown' %}</span> on <span class="sitenews-article-publishdate">{{ sitenewsarticle.publish_date }}</span></h2>
		<div>{{ sitenewsarticle.summary|safe }}</div>
		<a href="{{ sitenewsarticle.get_absolute_url }}" class="read-more-link">Read more</a>
	</div>
{% endfor %}
{% endblock inner-content-block %}
