fix json ld

This commit is contained in:
2026-07-17 13:59:48 +03:00
parent 4d7e55bf90
commit d48835a270
6 changed files with 106 additions and 5 deletions
+13 -1
View File
@@ -3,7 +3,19 @@
description %} {% block canonical %}{{ section.permalink }}{% endblock canonical %} {% block og_title
%}{{ section.title }} | {{ config.title }}{% endblock og_title %} {% block og_description %}Chronological
archive of every post on {{ config.title }}.{% endblock og_description %} {% block og_url %}{{
section.permalink }}{% endblock og_url %} {% block content %}
section.permalink }}{% endblock og_url %} {% block head %}
<!-- SEO: BreadcrumbList JSON-LD -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ config.base_url | safe }}/" },
{ "@type": "ListItem", "position": 2, "name": {{ section.title | json_encode | safe }}, "item": "{{ section.permalink | safe }}" }
]
}
</script>
{% endblock head %} {% block content %}
<div class="post-detail">
<header class="post-header list-page-header">
<h1 class="post-title list-page-title">{{ config.extra.archive_page_title | default(value="Archive") }}</h1>