1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-25 23:04:06 +00:00

More Google Schema fixes.

This commit is contained in:
Markus Birth 2017-04-11 01:12:53 +02:00
parent 9c43336514
commit b87f3a9fcf
2 changed files with 5 additions and 2 deletions

View File

@ -71,7 +71,7 @@
<meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" /> <meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" />
<meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" /> <meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" />
<meta itemprop="datePublished" content="{{ page.created | date: '%Y-%m-%d' }}" /> <meta itemprop="datePublished" content="{{ page.created | date: '%Y-%m-%d' }}" />
<meta itemprop="mainEntityOfPage" content="{{ page.url }}" /> <meta itemprop="mainEntityOfPage" content="{{ site.url }}{{ page.url }}" />
{% if page.language == 'de' %} {% if page.language == 'de' %}
<meta itemprop="inLanguage" content="de" /> <meta itemprop="inLanguage" content="de" />
{% else %} {% else %}

View File

@ -30,7 +30,10 @@ layout: default
{% if post.updated != post.created %} {% if post.updated != post.created %}
<img class="emoji" title="&#x3a;up&#x3a;" alt="&#x3a;up&#x3a;" src="https://assets-cdn.github.com/images/icons/emoji/up.png" width="20" height="20" align="absmiddle" /> <img class="emoji" title="&#x3a;up&#x3a;" alt="&#x3a;up&#x3a;" src="https://assets-cdn.github.com/images/icons/emoji/up.png" width="20" height="20" align="absmiddle" />
{% endif %} {% endif %}
<div itemprop="author publisher" itemscope itemtype="http://schema.org/Person"> <div itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Markus Birth" />
</div>
<div itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Markus Birth" /> <meta itemprop="name" content="Markus Birth" />
</div> </div>
</li> </li>