Example
Usage
{{ $args := (dict
"date" "2006-01-02T15:04:05Z07:00"
"format" "2006"
"itemprop" "datePublished"
) }}
{{ partial "commons/time" $args }}
HTML rendered
<time datetime="2006-01-02T15:04:05Z07:00" itemprop="datePublished">2006</time>
Datas
date: ""
format: "" // default is 2006, https://gohugo.io/functions/time/format/
itemprop: false // or https://schema.org/Date