Notes/static/index.html

35 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2023-06-15 07:24:23 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=yes" />
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/main.css">
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/login.css">
<script type="importmap">
{
"imports": {
"preact": "/js/{{ .VERSION }}/lib/preact/preact.mjs",
"preact/hooks": "/js/{{ .VERSION }}/lib/preact/hooks.mjs",
"preact/debug": "/js/{{ .VERSION }}/lib/preact/debug.mjs",
"preact/devtools": "/js/{{ .VERSION }}/lib/preact/devtools.mjs",
"@preact/signals-core": "/js/{{ .VERSION }}/lib/signals/signals-core.mjs",
"preact/signals": "/js/{{ .VERSION }}/lib/signals/signals.mjs",
2023-06-16 07:11:27 +02:00
"htm": "/js/{{ .VERSION }}/lib/htm/htm.mjs",
2023-06-17 09:11:14 +02:00
"session": "/js/{{ .VERSION }}/session.mjs",
"node": "/js/{{ .VERSION }}/node.mjs"
2023-06-15 07:24:23 +02:00
}
}
</script>
<script type="text/javascript" src="/js/{{ .VERSION }}/lib/css_reload.js"></script>
2023-06-15 07:24:23 +02:00
</head>
<body>
<div id="app"></div>
</body>
<script>
window._VERSION = "{{ .VERSION }}"
</script>
<script type="module" src="/js/{{ .VERSION }}/app.mjs" defer></script>
</html>