Compare commits

...
3 Commits
Author SHA1 Message Date
scambier ac7b41ecfc Open "about" in a new tab to not lose work in progress 2023-12-02 22:40:08 +01:00
scambier 52c1f80d4b Fixed annoying bug 2023-12-02 22:34:35 +01:00
scambier cd899df541 Removed useless analytics 2023-12-02 22:34:24 +01:00
3 changed files with 4 additions and 14 deletions

No files matched your search

+2 -12
View File
@@ -10,16 +10,7 @@
type="text/css"
href="https://cdn.jsdelivr.net/combine/
npm/codemirror@5.65.16/lib/codemirror.min.css,
npm/codemirror@5.65.16/theme/nord.min.css"
/>
<script
async
src="https://stats.scambier.xyz/script.js"
data-website-id="c78680ff-ef20-43a4-b204-32721cf679f5"
data-auto-track="false"
data-do-not-track="true"
data-domains="paste.scambier.xyz"
></script>
npm/codemirror@5.65.16/theme/nord.min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Paste - No-database paste service" />
<meta property="og:url" content="https://paste.scambier.xyz" />
@@ -27,8 +18,7 @@ npm/codemirror@5.65.16/theme/nord.min.css"
<meta
name="description"
property="og:description"
content="Paste is a client-side paste service with no database, and no back-end code. The data is stored entirely in the shared link"
/>
content="Paste is a client-side paste service with no database, and no back-end code. The data is stored entirely in the shared link" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
+1 -1
View File
@@ -8,7 +8,7 @@
<a href="/new" title="Create a new note">Paste</a>
</h1>
<span class="ml-8 text-xs">
<a href="/about">About</a>
<a href="/about" target="_blank">About</a>
<a class="ml-4" href="https://git.scambier.xyz/scambier/paste" target="_blank">Source</a>
</span>
</div>
+1 -1
View File
@@ -33,7 +33,7 @@
}, 1000)
async function initCodeEditor() {
$selectedLang = new URLSearchParams(window.location.search).get('l') ?? ' plt'
$selectedLang = new URLSearchParams(window.location.search).get('l') ?? 'plt'
CodeMirror.modeURL = 'https://cdn.jsdelivr.net/npm/codemirror@5.65.16/mode/%N/%N.js'
editor = new CodeMirror(byId('editor'), {