{#- Article JSON-LD Structured Data Component Generates schema.org TechArticle (docs) or BlogPosting (posts) for SEO and AI discovery. Renders when structured_data.article is enabled (default: true) and page is doc or post. Uses page: title, description, date, section, word_count, toc_items, author Uses site: baseurl, title Usage in base.html head: {% include "partials/article-jsonld.html" %} -#} {%- set article_enabled = (config.structured_data ?? {}).article ?? true %} {%- set is_doc = (page?.type ?? '') == 'doc' or (page?.kind ?? '') == 'doc' %} {%- set is_post = (page?.type ?? '') == 'post' or (page?.kind ?? '') == 'post' %} {%- set _toc = page.toc_items ?? toc_items ?? [] %} {%- if article_enabled and (is_doc or is_post) %} {% end %}