mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-17 06:35:00 +00:00
7 lines
270 B
Plaintext
7 lines
270 B
Plaintext
|
{{ define "oldcontentwarning" }}
|
||
|
{{ if .Data.Published }}
|
||
|
{{ if (datebefore (dateadd .Data.Published 1 0 0) now) }}
|
||
|
<strong class="p border-top border-bottom">{{ string .Blog.Lang "oldcontent" }}</strong>
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|