aboutsummaryrefslogtreecommitdiffstats
path: root/head-include.html
diff options
context:
space:
mode:
Diffstat (limited to 'head-include.html')
-rw-r--r--head-include.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/head-include.html b/head-include.html
new file mode 100644
index 0000000..fbc617f
--- /dev/null
+++ b/head-include.html
@@ -0,0 +1,19 @@
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+
+<link rel="stylesheet" type="text/css" href="/cgit-css/github.min.css"/>
+<link rel="stylesheet" type="text/css" href="/cgit-css/github-dark.min.css"/>
+
+<link rel="stylesheet" type="text/css" href="/cgit-css/theme.css"/>
+
+<script>
+ "use strict";
+ function hlBlob() {
+ 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) {
+ blob.classList.add("language-" + path.textContent.split(".").pop());
+ hljs.highlightElement(blob);
+ }
+ }
+</script>
+<script src="/cgit-css/highlight.min.js" onload="hlBlob()" defer></script>