blob: 9eb9a9f9691f81180eb53f5d8b0f62845ebd84e4 (
plain)
1
2
3
4
5
6
7
8
9
|
{{- if lt (div (now.Sub .page.PublishDate).Hours 24) 15}}
<span class="new">(new)</span>
{{- else}}
{{if lt (div (now.Sub .page.Lastmod).Hours 24) 10 }}
<span class="new">(updated)</span>
{{- end}}
{{- end}}
|