{#- Overrides Material's repo source partial to show a build-time version badge. The upstream partial relies on `data-md-component="source"`, which makes Material's JS fetch the latest release from the GitHub API and inject the version client-side (rate-limited + aggressively cached, so it drifts). We drop that attribute and render the version statically from the package metadata (see docs/hooks/mkdocs_hooks.py), so it always matches the release. -#}
{% set icon = config.theme.icon.repo or "fontawesome/brands/git-alt" %} {% include ".icons/" ~ icon ~ ".svg" %}
{{ config.repo_name }} {% if config.extra.grafito_version %} {% endif %}