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

34 lines
447 B
HTML

{% extends "base.html" %}
{% block style %}
<style>
p {
margin: 0;
}
.highlight {
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;
}
</style>
{% endblock %}
{% block content %}
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
{{ article.content }}
{% endblock %}