lintel-catalog-builder 0.0.16

Build a custom schema catalog from local schemas and external sources
Documentation
{% extends "layout.html" %} {% block title %}{{ name }} JSON Schemas - {{
site.title }}{% endblock %} {% block description %}{{ seo_description }}{%
endblock %} {% block canonical %}{{ site.base_url }}schemas/{{ key }}/{%
endblock %} {% block og_title %}{{ name }} JSON Schemas - {{ site.title }}{%
endblock %} {% block og_description %}{{ seo_description }}{% endblock %} {%
block og_url %}{{ site.base_url }}schemas/{{ key }}/{% endblock %} {% block
jsonld %}
<script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "CollectionPage",
        "name": "{{ name }}",
        "description": "{{ description }}",
        "url": "{{ site.base_url }}schemas/{{ key }}/",
        "isPartOf": {
          "@type": "WebSite",
          "name": "{{ site.title }}",
          "url": "{{ site.base_url }}"
        }
      },
      {
        "@type": "BreadcrumbList",
        "itemListElement": [
          {% for crumb in breadcrumbs %}
          {
            "@type": "ListItem",
            "position": {{ loop.index }},
            "name": "{{ crumb.label }}"{% if crumb.url %},
            "item": "{{ site.base_url }}{{ crumb.url|replace(site.base_path, '') }}"{% endif %}
          }{% if not loop.last %},{% endif %}
          {% endfor %}
        ]
      }
    ]
  }
</script>
{% endblock %} {% block content %} {% include "components/breadcrumb.html" %}

<article>
  <header class="page-header">
    <h1>{{ name }}</h1>
    {% if description %}
    <p class="page-description">{{ description }}</p>
    {% endif %}
    <span class="badge"
      >{{ schemas|length|commafy }} {{ schemas|length|pluralize("schema",
      "schemas") }}</span
    >
  </header>

  <div class="schema-list">
    {% for schema in schemas %} {% include "components/schema_card.html" %} {%
    endfor %}
  </div>
</article>
{% endblock %}