Skip to content

Commit

Permalink
Changed schema.org to secure links (https) (mmistakes#1969)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulbhushanchand authored and mmistakes committed Nov 26, 2018
1 parent 9cfa684 commit b95b87b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
{% endif %}

<nav class="breadcrumbs">
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
{% assign crumbs = page.url | split: '/' %}
{% assign i = 1 %}
{% for crumb in crumbs offset: 1 %}
{% if forloop.first %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
<meta itemprop="position" content="{{ i }}" />
</li>
Expand All @@ -28,7 +28,7 @@
<li class="current">{{ page.title }}</li>
{% else %}
{% assign i = i | plus: 1 %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
<meta itemprop="position" content="{{ i }}" />
</li>
Expand Down

0 comments on commit b95b87b

Please sign in to comment.