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

Add schema.org inLanguage tag.

This commit is contained in:
Markus Birth 2015-02-23 02:19:25 +01:00
parent 346b904cc8
commit f68a9cf876

View File

@ -47,6 +47,11 @@
<meta itemprop="keywords" content="{{ page.tags | join: ',' }}" />
<meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" />
<meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" />
{% if page.language == 'de' %}
<meta itemprop="inLanguage" content="de" />
{% else %}
<meta itemprop="inLanguage" content="en" />
{% endif %}
<section id="main_content" itemprop="articleBody">
{% if page.toc %}
<ul data-toc="#main_content"></ul>