Parent
[>]
1{% extends "base.html" %} 2 3{% block title %} 4{{ name }} 5{% endblock %} 6 7{% block breadcrumbs %} 8 9 {{ crate::hostname() }} 10 {{ name }} 11 12{% endblock %} 13 14{% block content %} 15{{ name }} 16 17{% if let Some(description) = description %} 18{{ description }} 19{% endif %} 20 21 Clone 22 23 git@{{ crate::hostname() }}:{{ crate::ssh_prefix() }}{{ name }}.gitSSH 24 https://{{ crate::hostname() }}/{{ name }}.gitHTTPS 25 26 27 28{% if let Some(branch) = default_branch %} 29 30 Archive 31 32 {{ name }}-{{ branch }}.tar.gztar.gz 33 {{ name }}-{{ branch }}.tar.xztar.xz 34 {{ name }}-{{ branch }}.zipzip 35 36 37{% endif %} 38 39 40 Branches [{{ branches.len() }}] 41 42 {% for branch in branches.iter().take(5) %} 43 {{ branch.name }}{% if branch.is_default %}default{% endif %}{{ branch.date }} 44 {% endfor %} 45 {% if branches.len() > 5 %} 46 see all {{ branches.len() }} branches[>] 47 {% endif %} 48 {% if branches.is_empty() %} 49 no branches 50 {% endif %} 51 52 53 54 55 Tags [{{ tags.len() }}] 56 57 {% for tag in tags.iter().take(5) %} 58 {{ tag.name }}{{ tag.date }} 59 {% endfor %} 60 {% if tags.len() > 5 %} 61 see all {{ tags.len() }} tags[>] 62 {% endif %} 63 {% if tags.is_empty() %} 64 no tags 65 {% endif %} 66 67 68 69 70 {% if let Some(sha) = head_sha %} 71 72 73 Tree 74 [{{ sha[..8] }}] 75 [>] 76 77 {% endif %} 78 79 80 Commits 81 [{{ commit_count }}] 82 [>] 83 84 85 86{% if let Some(readme) = readme %} 87 88 {{ readme | safe }} 89 90{% endif %} 91{% endblock %} 92 93{% block scripts %} 94 95 109{% endblock %}