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

46 lines
601 B
HTML
Raw Normal View History

2021-07-25 22:40:04 +00:00
{% extends "base.html" %}
{% block meta %}
<meta charset=UTF-8>
{% endblock %}
2021-07-27 03:56:42 +00:00
{% block style %}
<style>
p, h2, h3, h4, h5 {
2021-07-27 03:56:42 +00:00
margin: 0;
}
.toclink {
color: black;
}
.highlight > pre {
margin: 0;
2021-07-27 03:56:42 +00:00
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;
}
2022-02-27 23:59:21 +00:00
img {
width: 600px;
height: auto;
}
2021-07-27 03:56:42 +00:00
</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 %}