2013-07-13 15:46:13 -04:00
|
|
|
{% unless page.hide_breadcrumbs == true %}
|
2013-12-14 10:04:09 +02:00
|
|
|
<ol>
|
2013-07-13 15:46:13 -04:00
|
|
|
<li>
|
|
|
|
{% if page.layout == "license" %}
|
|
|
|
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="/">Home</a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
</ol>
|
2015-10-23 18:10:21 -04:00
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
|
|
|
"@context": "http://schema.org",
|
|
|
|
"@type": "BreadcrumbList",
|
|
|
|
"itemListElement": [{
|
|
|
|
"@type": "ListItem",
|
|
|
|
"position": 1,
|
|
|
|
"item": {
|
|
|
|
"@id": "{{ site.github.url }}/",
|
|
|
|
"name": "Home"
|
|
|
|
}
|
|
|
|
},{% if page.layout == "license" %}{
|
|
|
|
"@type": "ListItem",
|
|
|
|
"position": 2,
|
|
|
|
"item": {
|
|
|
|
"@id": "{{ site.github.url }}/licenses",
|
|
|
|
"name": "Licenses"
|
|
|
|
}
|
|
|
|
},{% endif %}{
|
|
|
|
"@type": "ListItem",
|
|
|
|
"position": {% if page.layout == "license" %}3{% else %}2{% endif %},
|
|
|
|
"item": {
|
|
|
|
"@id": "{{ site.github.url }}{{ page.url }}",
|
2015-10-31 14:32:29 -04:00
|
|
|
"name": {{ page.title | jsonify }}
|
2015-10-23 18:10:21 -04:00
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endunless %}
|