Varius HTML and CSS improvements

This commit is contained in:
2022-08-18 13:41:11 +00:00
parent 753ac6ca40
commit 8d44db0550
8 changed files with 68 additions and 51 deletions

View File

@@ -1,13 +1,11 @@
{{- $pubdate := .PublishDate.Format "02/01/2006" }}
{{- $lastmod := .Lastmod.Format "02/01/2006" }}
<article>
<div>
<h3>{{ .Title }}</h3>
{{ i18n "published" }} {{ $pubdate }}
{{ if ne $pubdate $lastmod }}
{{ i18n "modified" }} {{ $lastmod }}
{{ end }}<br />
{{ .Summary }}
{{ if .Truncated }}{{ i18n "readMore" }}...{{ end }}
</div>
<p class="heading">{{ .Title }}</p>
{{ i18n "published" }} {{ $pubdate }}
{{ if ne $pubdate $lastmod }}
{{ i18n "modified" }} {{ $lastmod }}
{{ end }}<br />
{{ .Summary }}
{{ if .Truncated }}{{ i18n "readMore" }}...{{ end }}
</article>