trwnh.com/unified.test.hugo/layouts/partials/components/article-published-datetime.html

5 lines
380 B
HTML
Raw Normal View History

2024-11-13 17:24:48 +00:00
{{- with .Date }}
<p class="article-published-datetime">
<span class="article-published-datetime__text">Published <time class="dt-published published" datetime="{{.Format "2006-01-02T15:04:05-07:00"}}"><span class="time">{{ .Format "3:04 PM MST (-07:00)" }}</span> <span class="nobr">on <span class="date">{{ .Format "Mon Jan 2, 2006"}}</span></span></span></time>
</p>
{{- end }}