gitscope
← rgit / 0.1.2 / templates/repo/file.html
https://dev.kronoz.win/r/rgit.git
templates/repo/file.html · HTML
Blame Raw
 1{% extends "repo/base.html" %}
 2
 3{% block head %}
 4    <link rel="stylesheet" type="text/css" href="/highlight-{{ crate::HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />
 5    <link rel="stylesheet" type="text/css" href="/highlight-dark-{{ crate::DARK_HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />
 6{%- endblock %}
 7
 8{% block tree_nav_class %}active{% endblock %}
 9
10{% block extra_nav_links %}
11    <a href="?raw=true">plain</a>
12{% endblock %}
13
14{% block content %}
15<pre>{{ file.content|safe }}</pre>
16{% endblock %}