Initial Release
This commit is contained in:
13
layouts/partials/date.html
Normal file
13
layouts/partials/date.html
Normal file
@ -0,0 +1,13 @@
|
||||
{{ if or (eq "de" .language.Lang) (eq "fr" .language.Lang) }}
|
||||
{{ if eq "long" .format }}
|
||||
{{ .date.Format "02" }}. {{ i18n (.date.Format "January")}} {{ .date.Format "2006"}}
|
||||
{{ else }}
|
||||
{{ .date.Format "02" }}. {{ substr (i18n (.date.Format "January")) 0 3 }} {{ .date.Format "06"}}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ if eq "long" .format }}
|
||||
{{ .date.Format "January 2, 2006" }}
|
||||
{{ else }}
|
||||
{{ .date.Format "Jan 2, 06" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user