add UPDATED to post
This commit is contained in:
@@ -14,7 +14,12 @@
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<h3 class="m-0 p-0">{{ .Title }}</h3>
|
||||
|
||||
<i class="d-block mt-2 text-secondary">Опубликовано: {{ time.Format "2 January 2006 г." .PublishDate }}</i>
|
||||
<div class="mt-2 text-secondary">
|
||||
<i class="d-block">Опубликовано: {{ time.Format "2 January 2006 г." .PublishDate }}</i>
|
||||
{{ if lt .PublishDate.Unix .Lastmod.Unix }}
|
||||
<i class="d-block">Обновлено: {{ time.Format "2 January 2006 г." .Lastmod }}</i>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div class="border-top mt-3 p-3 pb-0">
|
||||
{{ with .Params.tags }}
|
||||
|
||||
Reference in New Issue
Block a user