aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/page.html26
-rw-r--r--_layouts/post.html32
2 files changed, 19 insertions, 39 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>
diff --git a/_layouts/post.html b/_layouts/post.html
index b35e73c..c093f58 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,30 +2,16 @@
layout: default
---
-<article itemtype="http://schema.org/Article" 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="headline">{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
- <p><small><time itemprop="datePublished" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_long_string }}</time></small></p>
- </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 | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
-
- <!-- Author -->
- <section itemprop="author" itemscope itemtype="http://schema.org/Person">
- <meta itemprop="email" content="{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
- <meta itemprop="name" content="{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
- </section>
-
- <!-- Content -->
- <section itemprop="articleBody">
- {{ content }}
- </section>
+ <!-- Content -->
+ <section>
+ {{ content }}
+ </section>
</article>