diff options
Diffstat (limited to 'static/cgithub/head-include.html')
| -rw-r--r-- | static/cgithub/head-include.html | 18 |
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> |
