Skip to content
Snippets Groups Projects
Commit a9d23602 authored by Mario Trojan's avatar Mario Trojan Committed by Robert Lange
Browse files

use schema.org property "datePublished" instead of invalid "publicationDate"

parent efb17787
No related merge requests found
......@@ -8,7 +8,7 @@
<?php endif; ?>
</span>
<?php $pubDate = $field->getDate(); if (!empty($pubDate)): ?>
<span property="publicationDate"><?=$this->escapeHtml($pubDate)?></span>
<span property="datePublished"><?=$this->escapeHtml($pubDate)?></span>
<?php endif; ?>
<br/>
<?php endforeach; ?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment