-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (43 loc) · 2.09 KB
/
index.html
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
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" sizes="48x48" href="/assets/images/favicon-32x32.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/apple-touch-icon.png" />
<meta name="google-site-verification" content="Q86o31OobippdmEwtKDuRIDGnSMImeGOkJd-7ahhGIs" />
<title>my-vue-project</title>
<!-- HTML Meta Tags -->
<meta name="description" content="" />
<!-- Facebook Meta Tags -->
<!-- <meta property="og:url" content="" /> -->
<meta property="og:title" content="placeholder" />
<!-- <meta property="og:description" content="og-desc-placeholder" /> -->
<meta property="og:image" content="/assets/images/favicon-32x32.png" />
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="/assets/images/favicon-32x32.png" />
<meta property="twitter:domain" content="vuesence.github.io/spa-seo/" />
<meta property="twitter:url" content="" />
<meta name="twitter:title" content="my-vue-project" />
<meta name="twitter:description" content="twitter-desc-placeholder" />
<meta name="twitter:image" content="/assets/images/favicon-32x32.png" />
<!-- Meta Tags Generated via DNSChecker.org -->
<!-- service-worker placeholder -->
<script>
document.write('<meta property="og:description" content="DESCRIPTION" />');
// const m = document.createElement("meta");
// m.property = "og:description";
// m.content = "og - DESC";
// document.head.appendChild(m);
addEventListener("DOMContentLoaded", (event) => {
document.querySelector('meta[property="og:title"]').content = "Home page title (og) - 0";
document.querySelector('meta[property="og:description"]').content = "Home page description (og) - 0";
document.querySelector('meta[name="twitter:description"]').content = "Home page description (tw) - 0";
});
</script>
</head>
<body>
<div id="app" />
<script type="module" src="/src/main.ts"></script>
</body>
</html>