35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
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 %}
|
|
{% if article.image %}
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:image" content="https://t0.vc/media/{{article.image}}" />
|
|
<meta property="og:image" content="https://t0.vc/media/{{article.image}}" />
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{{ article.title }}</h1>
|
|
{{ article.summary }}
|
|
{{ article.locale_date }}
|
|
<hr />
|
|
|
|
{{ article.content }}
|
|
|
|
{% endblock %}
|