Added prism.js for code highlighting
All checks were successful
/ weblog.lol (push) Successful in 10s

🤞
This commit is contained in:
Gordon Pedersen 2024-09-05 15:42:07 +10:00
parent 4645af012f
commit 38e818d7b0
4 changed files with 12 additions and 3 deletions

View file

@ -4,6 +4,7 @@
<title>{weblog-title}{separator}{post-title}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://unpkg.com/prismjs@1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<link rel="stylesheet" href="/styles.css?v0.0.3">
{feeds}
</head>
@ -88,6 +89,7 @@
});
fediverse()
</script>
<script src="https://unpkg.com/prismjs@1.29.0/components/prism-core.min.js"></script>
<script src="https://unpkg.com/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
</body>
</html>

View file

@ -7,6 +7,7 @@ Title: cv
<title>{weblog-title}{separator}{post-title}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://unpkg.com/prismjs@1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<link rel="stylesheet" href="/styles.css?v0.0.3">
{feeds}
</head>
@ -50,5 +51,7 @@ Title: cv
fediverse()
</script>
<script src="https://unpkg.com/prismjs@1.29.0/components/prism-core.min.js"></script>
<script src="https://unpkg.com/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
</body>
</html>

View file

@ -7,6 +7,7 @@ Title: Landing Page Template
<title>{weblog-title}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://unpkg.com/prismjs@1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<link rel="stylesheet" href="/styles.css?v0.0.3">
{feeds}
</head>
@ -46,6 +47,7 @@ Title: Landing Page Template
})
fediverse()
</script>
<script src="https://unpkg.com/prismjs@1.29.0/components/prism-core.min.js"></script>
<script src="https://unpkg.com/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
</body>
</html>

View file

@ -7,6 +7,7 @@ Title: Page Template
<title>{weblog-title}{separator}{post-title}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://unpkg.com/prismjs@1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<link rel="stylesheet" href="/styles.css?v0.0.3">
{feeds}
</head>
@ -39,6 +40,7 @@ Title: Page Template
})
fediverse()
</script>
<script src="https://unpkg.com/prismjs@1.29.0/components/prism-core.min.js"></script>
<script src="https://unpkg.com/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
</body>
</html>