mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
posts: Improve microdata for date published and date modified (#570)
This commit is contained in:
1 parent
ea98bc1f8c
commit
bcd109acc5
1 file changed
+2
-1
@@ -6,7 +6,8 @@
|
||||
{{ if ne $.Params.Lastmod $.Params.Date }}
|
||||
{{ i18n "last_updated" }}
|
||||
{{ end }}
|
||||
<time datetime="{{ $.Date }}" itemprop="datePublished dateModified">
|
||||
<meta content="{{ $.Params.Date }}" itemprop="datePublished">
|
||||
<time datetime="{{ $.Params.LastMod }}" itemprop="dateModified">
|
||||
{{ $.Lastmod.Format $.Site.Params.date_format }}
|
||||
</time>
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user