update the datetime and "Read next"

This commit is contained in:
Junyi Hou 2024-03-04 15:05:53 +08:00
parent 90703b270f
commit a140817288
2 changed files with 17 additions and 3 deletions

View File

@ -486,11 +486,22 @@ article header h1 a {
stroke: var(--svg-state-color);
}
.post-list .post-info {
color: var(--post-info-color);
font-size: 0.75em;
margin-top: 1em;
margin-bottom: 1em;
display: block;
gap: 1em;
}
.post-info {
color: var(--post-info-color);
font-size: 0.75em;
margin-top: 1em;
margin-bottom: 1em;
display: flex;
gap: 1em;
}
.post-info a {
@ -635,6 +646,9 @@ code.has-jax {
.read-next-title {
margin-bottom: 0;
margin-top: 3em;
padding-top: 1em;
border-top: 1px dashed var(--thead-bg-color);
}
.read-next-posts {

View File

@ -11,15 +11,15 @@
<div class="post-header">
<header>
<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " | markdownify }}</h1>
{{ partial "post-language-switcher.html" . }}
</header>
{{ partial "post-info.html" . }}
</div>
{{ partial "toc.html" .}}
<div class="content e-content">
{{ .Content }}
</div>
{{ partial "post-info.html" . }}
</article>
{{ if gt .Site.Params.readNextPosts 0 }}