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

34 lines
447 B
HTML
Raw Normal View History

2021-07-25 22:40:04 +00:00
{% extends "base.html" %}
2021-07-27 03:56:42 +00:00
{% 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 %}
2021-07-25 22:40:04 +00:00
{% block content %}
2021-07-26 19:22:05 +00:00
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
{{ article.content }}
2021-07-25 22:40:04 +00:00
{% endblock %}