aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgit.conf6
-rw-r--r--cgit.pngbin1366 -> 4035 bytes
-rw-r--r--favicon.icobin1078 -> 1150 bytes
-rwxr-xr-xfilters/syntax-highlighting.py2
4 files changed, 7 insertions, 1 deletions
diff --git a/cgit.conf b/cgit.conf
new file mode 100644
index 0000000..acf8dfa
--- /dev/null
+++ b/cgit.conf
@@ -0,0 +1,6 @@
1CGIT_SCRIPT_PATH = /var/www/cgit/cgi
2CGIT_CONFIG = /var/www/cgit/cgitrc
3CACHE_ROOT = /var/www/cgit/cache
4prefix = /var/www/cgit
5libdir = $(prefix)
6filterdir = $(libdir)/filters
diff --git a/cgit.png b/cgit.png
index 425528e..c100ff6 100644
--- a/cgit.png
+++ b/cgit.png
Binary files differ
diff --git a/favicon.ico b/favicon.ico
index 56ff593..b77822f 100644
--- a/favicon.ico
+++ b/favicon.ico
Binary files differ
diff --git a/filters/syntax-highlighting.py b/filters/syntax-highlighting.py
index e912594..b877644 100755
--- a/filters/syntax-highlighting.py
+++ b/filters/syntax-highlighting.py
@@ -34,7 +34,7 @@ sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8', errors='replace
34sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace') 34sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
35data = sys.stdin.read() 35data = sys.stdin.read()
36filename = sys.argv[1] 36filename = sys.argv[1]
37formatter = HtmlFormatter(style='pastie', nobackground=True) 37formatter = HtmlFormatter(style='stata-light', nobackground=True)
38 38
39try: 39try:
40 lexer = guess_lexer_for_filename(filename, data) 40 lexer = guess_lexer_for_filename(filename, data)