https://dev.kronoz.win/r/rgit.git
1{% import "macros/link.html" as link %}
2{% extends "repo/base.html" %}
3
4{% block head %}
5 <link rel="stylesheet" type="text/css" href="/highlight-{{ crate::HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />
6 <link rel="stylesheet" type="text/css" href="/highlight-dark-{{ crate::DARK_HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />
7{%- endblock %}
8
9{% block tree_nav_class %}active{% endblock %}
10
11{% block extra_nav_links %}
12 <a href="?raw=true{% call link::maybe_branch_suffix(branch) %}">plain</a>
13{% endblock %}
14
15{% block content %}
16<pre>
17 {%- match file.content -%}
18 {%- when crate::git::Content::Text with (content) -%}
19 {{- content|safe -}}
20 {%- when crate::git::Content::Binary with (_) -%}
21 <binary file not displayed>
22 {%- endmatch -%}
23</pre>
24{% endblock %}