aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/article.html
blob: 9cb1d52ae9bd49124ec56ed5ed83f30804739eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %}

{% block title %}{{ article.title }} - {{ super() }}{% endblock title %}
{% block description %}{{ article.content|striptags|truncate(200)|escape }}{% endblock description %}
{% block keywords %}{% for tag in article.tags|sort %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endblock keywords %}

{% block content %}

<h1>{{ article.title }}</h1>

{% with type='single' %}
{% include "card_content.html" %}
{% endwith %}

{% endblock %}