Remove schema.org references to simplify markup
This commit is contained in:
parent
1931d22a33
commit
e2e01bdbb8
4 changed files with 26 additions and 26 deletions
|
@ -7,14 +7,14 @@
|
||||||
{% include _head.html %}
|
{% include _head.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="home" itemscope itemtype="http://schema.org/WebPage">
|
<body class="home">
|
||||||
|
|
||||||
{% include _browser-upgrade.html %}
|
{% include _browser-upgrade.html %}
|
||||||
|
|
||||||
{% include _navigation.html %}
|
{% include _navigation.html %}
|
||||||
|
|
||||||
{% if page.image.feature %}<div class="image-wrap">
|
{% if page.image.feature %}<div class="image-wrap">
|
||||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
|
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
|
||||||
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
|
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
|
||||||
</div><!-- /.image-wrap -->{% endif %}
|
</div><!-- /.image-wrap -->{% endif %}
|
||||||
|
|
||||||
|
@ -22,12 +22,12 @@
|
||||||
{% include _author-bio.html %}
|
{% include _author-bio.html %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
|
<div id="index">
|
||||||
<h3><a href="{{ site.url}}/articles/">Articles</a></h3>
|
<h3><a href="{{ site.url}}/articles/">Articles</a></h3>
|
||||||
{% for post in site.posts limit:5 %}
|
{% for post in site.posts limit:5 %}
|
||||||
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
|
<article>
|
||||||
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
|
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
||||||
<p itemprop="text">{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div><!-- /#index -->
|
</div><!-- /#index -->
|
||||||
|
|
|
@ -7,24 +7,24 @@
|
||||||
{% include _head.html %}
|
{% include _head.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="page" itemscope itemtype="http://schema.org/WebPage">
|
<body class="page">
|
||||||
|
|
||||||
{% include _browser-upgrade.html %}
|
{% include _browser-upgrade.html %}
|
||||||
|
|
||||||
{% include _navigation.html %}
|
{% include _navigation.html %}
|
||||||
|
|
||||||
{% if page.image.feature %}<div class="image-wrap">
|
{% if page.image.feature %}<div class="image-wrap">
|
||||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
|
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
|
||||||
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
|
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
|
||||||
</div><!-- /.image-wrap -->{% endif %}
|
</div><!-- /.image-wrap -->{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main" itemprop="mainContentOfPage">
|
<div id="main" role="main">
|
||||||
<div class="article-author-side">
|
<div class="article-author-side">
|
||||||
{% include _author-bio.html %}
|
{% include _author-bio.html %}
|
||||||
</div>
|
</div>
|
||||||
<article itemscope itemtype="http://schema.org/CreativeWork">
|
<article>
|
||||||
<h1 itemprop="name">{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
<div class="article-wrap" itemprop="text">
|
<div class="article-wrap">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div><!-- /.article-wrap -->
|
</div><!-- /.article-wrap -->
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{% include _head.html %}
|
{% include _head.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="articles" itemscope itemtype="http://schema.org/WebPage">
|
<body class="post-index">
|
||||||
|
|
||||||
{% include _browser-upgrade.html %}
|
{% include _browser-upgrade.html %}
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
{% include _author-bio.html %}
|
{% include _author-bio.html %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
|
<div id="index">
|
||||||
<h1 itemprop="name">{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
{% unless post.next %}
|
{% unless post.next %}
|
||||||
<h3>{{ post.date | date: '%Y' }}</h3>
|
<h3>{{ post.date | date: '%Y' }}</h3>
|
||||||
|
@ -34,9 +34,9 @@
|
||||||
<h3>{{ post.date | date: '%Y' }}</h3>
|
<h3>{{ post.date | date: '%Y' }}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
|
<article>
|
||||||
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
|
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
||||||
<p itemprop="text">{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div><!-- /#index -->
|
</div><!-- /#index -->
|
||||||
|
|
|
@ -7,34 +7,34 @@
|
||||||
{% include _head.html %}
|
{% include _head.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="article" itemscope itemtype="http://schema.org/WebPage">
|
<body class="post">
|
||||||
|
|
||||||
{% include _browser-upgrade.html %}
|
{% include _browser-upgrade.html %}
|
||||||
|
|
||||||
{% include _navigation.html %}
|
{% include _navigation.html %}
|
||||||
|
|
||||||
{% if page.image.feature %}<div class="image-wrap">
|
{% if page.image.feature %}<div class="image-wrap">
|
||||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
|
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
|
||||||
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
|
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
|
||||||
</div><!-- /.image-wrap -->{% endif %}
|
</div><!-- /.image-wrap -->{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
|
<div id="main" role="main">
|
||||||
<div class="article-author-side">
|
<div class="article-author-side">
|
||||||
{% include _author-bio.html %}
|
{% include _author-bio.html %}
|
||||||
</div>
|
</div>
|
||||||
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
|
<article>
|
||||||
<div class="headline-wrap">
|
<div class="headline-wrap">
|
||||||
<h1 itemprop="name">{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
<h2>{{ page.tagline }}</h2>
|
<h2>{{ page.tagline }}</h2>
|
||||||
</div><!--/ .headline-wrap -->
|
</div><!--/ .headline-wrap -->
|
||||||
<div class="article-wrap" itemprop="text">
|
<div class="article-wrap">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<hr />
|
<hr />
|
||||||
<footer role="contentinfo">
|
<footer role="contentinfo">
|
||||||
<div class="article-author-bottom">
|
<div class="article-author-bottom">
|
||||||
{% include _author-bio.html %}
|
{% include _author-bio.html %}
|
||||||
</div>
|
</div>
|
||||||
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}" itemprop="dateModified">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %} by <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name"><a href="{{ site.url }}/about" title="About {{ site.owner.name }}" itemprop="url">{{ site.owner.name }}</a></span></span>.</p>
|
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %} by <a href="{{ site.url }}/about" title="About {{ site.owner.name }}">{{ site.owner.name }}</a>.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div><!-- /.article-wrap -->
|
</div><!-- /.article-wrap -->
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in a new issue