18 lines
496 B
HTML
18 lines
496 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<ow-articles>
|
|
{% for article in news %}
|
|
<news-article
|
|
article-id="{{ article.id }}"
|
|
article-title="{{ article.title }}"
|
|
status="{{ article.status.as_str() }}"
|
|
published-at="{{ article.published_at|opt_time }}"
|
|
created-at="{{ article.created_at }}"
|
|
hide-status="true"
|
|
>
|
|
{{article.body|safe}}
|
|
</news-article>
|
|
{% endfor %}
|
|
</ow-articles>
|
|
{% endblock %}
|