Added micro-markup 'Schema.org' for page
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
08d3c86e94
commit
3c44847bdb
@ -2,13 +2,22 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<article>
|
<article itemtype="http://schema.org/WebPage" itemscope>
|
||||||
|
<link itemprop="mainEntityOfPage" itemscope href="{{ page.url | absolute_url | uri_escape }}" />
|
||||||
|
<link itemprop="image" itemscope href="{{ page.image | default: site.image | absolute_url | uri_escape }}" />
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<h1 class="text-muted">
|
<h1 class="text-muted">
|
||||||
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
<span itemprop="name">{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
|
||||||
<p><small>{{ page.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</small></p>
|
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<!-- Description -->
|
||||||
|
<meta itemprop="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
|
||||||
|
|
||||||
|
<!-- Content -->
|
||||||
|
<section itemprop="mainContentOfPage">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
</section>
|
||||||
</article>
|
</article>
|
Loading…
Reference in New Issue
Block a user