aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-08-02 11:54:51 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-08-02 11:56:55 +0530
commit615c18654f9c9fe7e5ccfa9532d0ac0a1f1d7cd0 (patch)
treedcab2a0fe87475ecfabf10100529978c745c34f4
parentfbdc3d855d0330f5f743b0936de015c4ca620b8f (diff)
projects: add syntax highlighting
-rw-r--r--templates/project.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/project.html b/templates/project.html
index e4e56bc..6269bd6 100644
--- a/templates/project.html
+++ b/templates/project.html
@@ -1,15 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
+
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ putpage name }} | COMPROMYSE</title>
<link href="/assets/stylesheet.css" rel="stylesheet" />
+
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jersey+15&display=swap" rel="stylesheet">
+
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/panda-syntax-dark.min.css" defer>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
+ <script defer>hljs.highlightAll();</script>
+
</head>
<body class="bg-zinc-900 text-pink-300 font-['Jersey_15'] selection:text-pink-900 selection:bg-pink-100 lg:text-xl">
<div class="min-h-screen flex flex-col">