-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.template.html
More file actions
41 lines (41 loc) · 1.77 KB
/
index.template.html
File metadata and controls
41 lines (41 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<html lang="%LANG%" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32" />
<meta name="theme-color" content="#0B0B0F" />
<title>%TITLE%</title>
<meta name="description" content="%DESCRIPTION%" />
<link rel="canonical" href="https://pdfpw.github.io/%LOCALE%/" />
<link rel="alternate" hreflang="en" href="https://pdfpw.github.io/en/" />
<link rel="alternate" hreflang="ja" href="https://pdfpw.github.io/ja/" />
<link rel="alternate" hreflang="x-default" href="https://pdfpw.github.io/en/" />
<meta property="og:locale" content="%OG_LOCALE%" />
<meta property="og:title" content="%TITLE%" />
<meta property="og:description" content="%DESCRIPTION%" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://pdfpw.github.io/%LOCALE%/" />
<meta property="og:image" content="https://pdfpw.github.io/og-image.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://pdfpw.github.io/og-image.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<script>
(() => {
var stored, isDark;
try {
stored = localStorage.getItem("pdfpw-theme");
isDark = stored
? stored === "dark"
: window.matchMedia("(prefers-color-scheme: dark)").matches;
document.documentElement.classList.toggle("dark", isDark);
} catch (_e) {}
})();
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>