index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'templates/repository/about.html')

-rw-r--r-- templates/repository/about.html 19
 1 file changed, 19 insertions(+)

diff --git a/templates/repository/about.html b/templates/repository/about.html
new file mode 100644
index 0000000..a6d22f0 100644
--- /dev/null
+++ b/templates/repository/about.html
@@ -1,0 +1,19 @@
{% extends "base.html" %}

{% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %}

{% block header %}
  {{ macros::header(Some(repo), branch_names, Some(current_ref)) }}
{% endblock %}

{% block tabs %}
  {{ macros::repo_tabs(repo, current_ref, query, "about") }}
{% endblock %}

{% block content %}
{% if let Some(html) = readme_html %}
<div class="readme">
  {{ html|safe }}
</div>
{% endif %}
{% endblock %}