Add last updated display, params.showLastUpdated and update README.md

This commit is contained in:
horochx
2019-10-04 22:08:35 +08:00
parent 5f9bb738cd
commit 213a39bcad
10 changed files with 42 additions and 260 deletions

View File

@ -30,6 +30,11 @@
<div class="post-content">
{{ .Content }}
</div>
{{ if $.Site.Params.showLastUpdated }}
<div class="post-lastmod">
Last Updated :: {{ .Lastmod.Format "2006-01-02" }}
</div>
{{ end }}
{{ if or .NextInSection .PrevInSection }}
<div class="pagination">
<div class="pagination__title">