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

@ -11,17 +11,17 @@
<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>
</article>
{{ if gt .Site.Params.readNextPosts 0 }}
{{ $related := .Site.RegularPages.Related . | first .Site.Params.readNextPosts }}
{{ with $related }}