moar microdata

This commit is contained in:
nek0 2019-09-24 05:07:49 +02:00
parent 1f477797f5
commit 9440dec6dc
2 changed files with 5 additions and 5 deletions

View File

@ -87,11 +87,11 @@
</div>
</div>
$if(datetime)$
<article itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<article itemprop="blogPost mainEntityOfPage" itemscope itemtype="https://schema.org/BlogPosting">
<h1 itemprop="headline">$title$</h1>
$else$
<article>
<h1>$title$</h1>
<article itemprop="mainEntityOfPage">
<h1 itemprop="headline">$title$</h1>
$endif$
$body$

View File

@ -1,12 +1,12 @@
<div class="info">
Posted on <time itemprop="datePublished" datetime="$datetime$">$date$</time>
Posted on <time itemprop="datePublished dateModified" datetime="$datetime$">$date$</time>
$if(author)$
by <span itemprop="publisher author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name ">$author$</span>
</span>
$endif$
$if(tags)$
in $tags$
in <span itemprop="keywords">$tags$</span>
$endif$
</div>