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

35 lines
1.0 KiB
HTML
Raw Normal View History

2021-07-25 22:40:04 +00:00
{% extends "base.html" %}
2023-04-22 05:55:10 +00:00
{% block meta %}
2022-07-02 06:52:19 +00:00
<title>{{ article.title|striptags }} | t0.vc</title>
2023-01-23 00:37:42 +00:00
<link rel="canonical" href="https://tannercollin.com/{{ article.slug }}/" />
2022-07-02 06:50:03 +00:00
{% 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 %}
2023-10-19 19:22:22 +00:00
{% 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 %}
2022-07-02 06:50:03 +00:00
{% endblock %}
2021-07-27 03:56:42 +00:00
2023-04-22 05:55:10 +00:00
{% block content %}
2022-07-02 06:50:03 +00:00
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
2023-04-22 05:55:10 +00:00
{{ article.content }}
{% endblock %}