Compare commits
3 Commits
4184484825
...
ac7b41ecfc
Author | SHA1 | Date | |
---|---|---|---|
ac7b41ecfc | |||
52c1f80d4b | |||
cd899df541 |
14
src/app.html
14
src/app.html
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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'), {
|
||||
|
|
Loading…
Reference in New Issue
Block a user