19 lines
469 B
HTML
19 lines
469 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ resource.date | date(format='%B %e, %Y') }}</h1>
|
|
|
|
<div class="news_content">
|
|
{{ resource.content | safe }}
|
|
</div>
|
|
|
|
{% for photo in resource.assets %}
|
|
<img class="news_image" src="{{ resource.path }}/{{ photo | split(pat='/') | last }}" />
|
|
{% endfor %}
|
|
|
|
<div class="back_to_news">
|
|
<a href="{{ get_url(path="@/news/_index.md", lang=lang) }}">{{ trans(key='back', lang=lang) }}</a>
|
|
</div>
|
|
|
|
{% endblock content %}
|