18 lines
437 B
HTML
18 lines
437 B
HTML
{% extends "base.html" %}
|
|
{% block head -%}
|
|
{{ super() -}}
|
|
{% if article.summary %}
|
|
<meta name="description" content="{{ article.summary | striptags | safe | truncate(150) }}" />
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block title %}{{ article.title|striptags }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<article>
|
|
<h1>{{ article.title }}</h1>
|
|
{% include 'article_infos.html' %}
|
|
{{ article.content }}
|
|
</article>
|
|
{% endblock %}
|