{% extends "base.html" %} {# Search and social metadata for the documentation site: Open Graph and Twitter card tags so a shared link shows the social image, and one schema.org description of the project on the home page. #} {% block extrahead %} {% set site_root = config.site_url.rstrip('/') %} {% if page and page.meta and page.meta.title %} {% set card_title = page.meta.title ~ " - " ~ config.site_name %} {% elif page and page.title and not page.is_homepage %} {% set card_title = page.title ~ " - " ~ config.site_name %} {% else %} {% set card_title = config.site_name %} {% endif %} {% set card_description = page.meta.description if page and page.meta and page.meta.description else config.site_description %} {% if page and page.is_homepage %} {% endif %} {% endblock %}