{% extends "base.html" %} {% import "repo_tabs.html" as m %} {% block title %}{{ repo.owner }}/{{ repo.name }}{% endblock %} {% block bodyattrs %} data-repo="{{ repo.url }}" data-ref="{{ repo.default_bookmark }}"{% endblock %} {% block tabs %}{% call m::tabs(repo, "code") %}{% endblock %} {% block content %}
{% if o.heads > 1 %}
{{ repo.default_bookmark }} has {{ o.heads }} heads; the tree below is their union. Bookmarks
{% endif %} {% if o.conflicted %}
This state carries conflicts. See them
{% endif %}
◆ {{ repo.default_bookmark }} {{ o.changes|plural("change", "changes") }} {% if repo.can(crate::auth::Access::Write) %}new file{% endif %}
⤓ Clone

The URL alone: {{ repo.clone_url }}

{% if let Some(c) = o.latest %}

latest {{ c.title }} · {{ c.when_ms|ago }}

{% endif %} {% if let Some(q) = quickstart %} {% include "quickstart.html" %} {% else %} {% include "tree_table.html" %} {% endif %} {% if let Some(html) = readme_html %}

{{ o.tree.readme.as_ref().unwrap().path }}

{{ html|safe }}
{% endif %}
{% endblock %}