Commit 0549a813d8b034640c926186312d7380ebda786c
1 parent
6eec68d3
микроразметка статьи в blog/index ч.1
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
frontend/views/blog/_article.php
... | ... | @@ -24,9 +24,10 @@ $imageHeight=240; |
24 | 24 | </div> |
25 | 25 | <?php } ?> |
26 | 26 | |
27 | - | |
28 | 27 | <div itemtype="http://schema.org/Article" itemscope class="blog-list-wr"> |
29 | - | |
28 | + <!-- <a itemprop="mainEntityOfPage" href="http://cathscafe.example.com/"><h1 itemprop="name">Cath's Cafe</h1></a>--> | |
29 | + <a itemprop="mainEntityOfPage" href="<?= Url::to(['blog/index'], true); ?>"><h1 itemprop="name">Cath's Cafe</h1></a> | |
30 | + <div itemprop="dateModified" content="2015-02-22T14:55:06+00:00">Last Updated: 22 Feb 15</time> | |
30 | 31 | <div itemscope itemtype="https://schema.org/ImageObject" class="img-blog-list"> |
31 | 32 | |
32 | 33 | <meta itemprop="url" content="<?=($model->image) ? $model->image->getPath() : null;?>"> | ... | ... |