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