aboutsummaryrefslogtreecommitdiff
path: root/views/blob.html
diff options
context:
space:
mode:
authorThorsten Ortlepp <post@ortlepp.eu>2024-08-08 19:01:23 +0200
committerThorsten Ortlepp <post@ortlepp.eu>2024-08-08 19:01:23 +0200
commit4cce84502e206bab2942e33e73ba964f5664397c (patch)
treec94f8f31a31e8d19886a1679f6f8df0b27e10b05 /views/blob.html
parent704ca72598608f0918b9d102108703f7dda64203 (diff)
downloadgit-arr-fork-4cce84502e206bab2942e33e73ba964f5664397c.zip
Added dark mode from upstream project
Diffstat (limited to 'views/blob.html')
-rw-r--r--views/blob.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/blob.html b/views/blob.html
index f1c6ad0..67ac11c 100644
--- a/views/blob.html
+++ b/views/blob.html
@@ -77,7 +77,9 @@
{{!markdown_blob(blob.utf8_content)}}
</div>
% elif can_colorize(blob.utf8_content):
+<div class="colorized-src">
{{!colorize_blob(fname.raw, blob.utf8_content)}}
+</div>
% else:
<pre class="blob-body">
{{blob.utf8_content}}