mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-23 15:50:46 +02:00
# Updated Looks, Syntax Highlights and more
* Moved all CDN libraries into /static/vendor + Implemented syntax highlight with hljs * Updated the sanitization to include `.`
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ define "inc/footer.html"}}
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/js/darkmode.min.js"></script>
|
||||
<script src="/static/vendor/bootstrap/darkmode.min.js"></script>
|
||||
<script src="/static/js/main.js"></script>
|
||||
{{ end }}
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<meta name="color-scheme" content="light dark">
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/css/bootstrap-nightshade.min.css" rel="stylesheet">
|
||||
<link href="/static/vendor/bootstrap/bootstrap-nightshade.min.css" rel="stylesheet">
|
||||
<!-- Love https://vinorodrigues.github.io/bootstrap-dark-5/ -->
|
||||
<link rel="stylesheet" href="/static/css/main.css">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user