diff options
author | Valentin Popov <info@valentineus.link> | 2018-12-06 21:58:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-12-06 21:58:52 +0300 |
commit | 19fbb3342a443fa36f00130f833207c79c7583d7 (patch) | |
tree | cfeecd58a835d2f147d38ff83a8f19879e4b0344 /_layouts/page.html | |
parent | 122d8864a7595278556c59314391d8ea4b7452be (diff) | |
download | popov.link-19fbb3342a443fa36f00130f833207c79c7583d7.tar.xz popov.link-19fbb3342a443fa36f00130f833207c79c7583d7.zip |
feat(schema): Remove old markup
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts/page.html')
-rw-r--r-- | _layouts/page.html | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/_layouts/page.html b/_layouts/page.html index 5dd9fab..c093f58 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,22 +2,16 @@ layout: default --- -<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 }}" /> +<article> - <!-- Header --> - <header class="page-header"> - <h1 class="text-muted"> - <span itemprop="name">{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span> - </h1> - </header> + <!-- Header --> + <header> + <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> + </header> - <!-- Description --> - <meta itemprop="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" /> + <!-- Content --> + <section> + {{ content }} + </section> - <!-- Content --> - <section itemprop="mainContentOfPage"> - {{ content }} - </section> -</article>
\ No newline at end of file +</article> |