personal-site/themes/lite/templates/article.html

30 lines
812 B
HTML

{% extends "base.html" %}
{% block meta %}
<title>{{ article.title|striptags }} | t0.vc</title>
<link rel="canonical" href="https://tannercollin.com/{{ article.slug }}/" />
{% if article.date %}
<meta name="date" content="{{article.date}}" />
{% endif %}
{% if article.summary %}
<meta name="description" content="{{article.summary|striptags}}" />
<meta name="summary" content="{{article.summary|striptags}}" />
{% endif %}
{% if article.category %}
<meta name="category" content="{{article.category}}" />
{% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{% block content %}
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
{{ article.content }}
{% endblock %}