gitscope
← rgit / 0.1.4 / templates/repo/diff.html
https://dev.kronoz.win/r/rgit.git
templates/repo/diff.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 diff_nav_class %}active{% endblock %}
 9
10{% block content %}
11<h2>Diff</h2>
12<pre class="diff">{{ commit.diff_stats|safe }}
13{{ commit.diff|safe }}</pre>
14{% endblock %}