abouttreesummaryrefslogcommitdiff
path: root/static/cgithub/head-include.html
diff options
context:
space:
mode:
authorpatrick-scho2025-12-03 18:16:51 +0100
committerpatrick-scho2025-12-03 18:16:51 +0100
commit14a0be9e1f270e7749313bfc96dff873ad29f0d7 (patch)
tree1ad9f8462e41e66ea5815e6a98c7df1b1ccbf087 /static/cgithub/head-include.html
parentac66a26fe1d98984d4f793acfce1a48da824a681 (diff)
downloadps-cgit-14a0be9e1f270e7749313bfc96dff873ad29f0d7.tar.gz
ps-cgit-14a0be9e1f270e7749313bfc96dff873ad29f0d7.zip
move cgithub assets
Diffstat (limited to 'static/cgithub/head-include.html')
-rw-r--r--static/cgithub/head-include.html18
1 files changed, 0 insertions, 18 deletions
diff --git a/static/cgithub/head-include.html b/static/cgithub/head-include.html
deleted file mode 100644
index 5ad9caa..0000000
--- a/static/cgithub/head-include.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-
-<link rel="stylesheet" type="text/css" href="/git/static/cgithub/github-markdown-dark.css"/>
-<link rel="stylesheet" type="text/css" href="/git/static/cgithub/cgithub.css"/>
-<link rel="stylesheet" type="text/css" href="/git/static/cgithub/prism-one-dark.css"/>
-
-<script type="module">
- const blob = document.querySelector('div#cgit table.blob td.lines pre code');
- const path = document.querySelector('div#cgit div.path a:last-child');
- if (blob !== null && path !== null) {
- let lang = path.textContent.split(".").pop();
- if (lang == 'h') lang = 'cpp';
- if (lang == 'hpp') lang = 'cpp';
- blob.classList.add('language-' + lang);
- }
-</script>
-
-<script src="/git/static/cgithub/prism.js"></script>