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>
</div> </div>
$if(datetime)$ $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> <h1 itemprop="headline">$title$</h1>
$else$ $else$
<article> <article itemprop="mainEntityOfPage">
<h1>$title$</h1> <h1 itemprop="headline">$title$</h1>
$endif$ $endif$
$body$ $body$

View file

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