Commit c99ad4cb authored by Úrsula Iguarán's avatar Úrsula Iguarán 💬

Fix issue #530

parent 46e5f40b
......@@ -2,6 +2,7 @@ aix
apache
aspnet
attacks
certifications
challenges
cobol
csharp
......
......@@ -199,6 +199,41 @@
</div>
<script id="dsq-count-scr" src="//{{ DISQUS_SITENAME }}.disqus.com/count.js" async></script>
{% endif %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "{{ SITEURL }}/",
"name": "{{ gettext('Breadcrumb-0') }}"
}
},{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "{{ SITEURL }}/blog/",
"name": "Blog"
}
},{
"@type": "ListItem",
"position": 3,
"item": {
"@id": "{{SITEURL}}/{{ category.url }}../",
"name": "{{ gettext('Articles-breadcrumb-1') }}"
}
},{
"@type": "ListItem",
"position": 4,
"item": {
"@id": "{{ SITEURL }}/{{ category.url }}",
"name": "{{ article.category|capitalize }}"
}
}]
}
</script>
</article>
</div>
{% endblock content %}
......@@ -69,7 +69,7 @@
<li><a href="{{ SITEURL }}/defends/#{{ page.category.name }}">{{ page.category }}</a></li>
{% elif "misc" not in page.category.name %}
{% if page.category2 %}
<li><a href="{{ SITEURL }}/{{ page.category.name }}">{{ page.category }} >>&nbsp;</a></li>
<li><a href="{{ SITEURL }}/{{ page.category.name }}/">{{ page.category }} >>&nbsp;</a></li>
<li><a href="{{ SITEURL }}/{{ page.category.name }}/{{ page.category2 }}/">{{ page.category2|replace('-', ' ') }}</a></li>
{% else %}
<li><a href="{{ SITEURL }}/{{ page.category.name }}">{{ page.category }}</a></li>
......@@ -167,6 +167,61 @@
</div>
<script id="dsq-count-scr" src="//{{ DISQUS_SITENAME }}.disqus.com/count.js" async></script>
{% endif %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "{{ SITEURL }}/",
"name": "{{ gettext('Breadcrumb-0') }}"
}
{% if page.defends %}
},{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "{{ SITEURL }}/defends/",
"name": "Defends"
}
},{
"@type": "ListItem",
"position": 3,
"item": {
"@id": "{{ SITEURL }}/defends/#{{ page.category.name }}/",
"name": "{{ page.category|capitalize }}"
}
{% elif "misc" not in page.category.name %}
{% if page.category2 %}
},{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "{{ SITEURL }}/{{ page.category.name }}/",
"name": "{{ page.category|capitalize }}"
}
},{
"@type": "ListItem",
"position": 3,
"item": {
"@id": "{{ SITEURL }}//{{ page.category.name }}/{{ page.category2 }}/",
"name": "{{ page.category2|capitalize }}/"
}
{% else %}
},{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "{{ SITEURL }}/{{ page.category.name }}/",
"name": "{{ page.category|capitalize }}"
}
{% endif %}
{% endif %}
}]
}
</script>
</article>
</div>
{% endblock content %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment