aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/article.html
blob: 84f741709b845bcd4d125b583f0955e80480c5d8 (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 "components/card_content.html" %}
{% endwith %}

{% endblock %}