update the datetime and "Read next"
This commit is contained in:
parent
90703b270f
commit
a140817288
@ -486,11 +486,22 @@ article header h1 a {
|
|||||||
stroke: var(--svg-state-color);
|
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 {
|
.post-info {
|
||||||
color: var(--post-info-color);
|
color: var(--post-info-color);
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
display: flex;
|
||||||
|
gap: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-info a {
|
.post-info a {
|
||||||
@ -635,6 +646,9 @@ code.has-jax {
|
|||||||
|
|
||||||
.read-next-title {
|
.read-next-title {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
margin-top: 3em;
|
||||||
|
padding-top: 1em;
|
||||||
|
border-top: 1px dashed var(--thead-bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-next-posts {
|
.read-next-posts {
|
||||||
|
@ -11,17 +11,17 @@
|
|||||||
<div class="post-header">
|
<div class="post-header">
|
||||||
<header>
|
<header>
|
||||||
<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " | markdownify }}</h1>
|
<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" . }}
|
{{ partial "post-language-switcher.html" . }}
|
||||||
</header>
|
</header>
|
||||||
|
{{ partial "post-info.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ partial "toc.html" .}}
|
{{ partial "toc.html" .}}
|
||||||
<div class="content e-content">
|
<div class="content e-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{ partial "post-info.html" . }}
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
{{ if gt .Site.Params.readNextPosts 0 }}
|
{{ if gt .Site.Params.readNextPosts 0 }}
|
||||||
{{ $related := .Site.RegularPages.Related . | first .Site.Params.readNextPosts }}
|
{{ $related := .Site.RegularPages.Related . | first .Site.Params.readNextPosts }}
|
||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
|
Loading…
Reference in New Issue
Block a user