personal-site/themes/lite/templates/article.html
2022-02-27 23:59:21 +00:00

46 lines
601 B
HTML

{% extends "base.html" %}
{% block meta %}
<meta charset=UTF-8>
{% endblock %}
{% block style %}
<style>
p, h2, h3, h4, h5 {
margin: 0;
}
.toclink {
color: black;
}
.highlight > pre {
margin: 0;
padding: 0.5rem;
overflow-x: auto;
background-color: #eee;
}
:not(pre)>code {
padding: 0 2px;
font-size: 0.8rem;
background-color: #eee;
}
.aside {
display: none;
}
.toc {
display: none;
}
img {
width: 600px;
height: auto;
}
</style>
{% endblock %}
{% block content %}
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
{{ article.content }}
{% endblock %}