94 lines
4.0 KiB
XML
94 lines
4.0 KiB
XML
<snippet>
|
|
<content><![CDATA[
|
|
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- Set the base URL for all relative URLs within the document -->
|
|
<base href="https://example.com/">
|
|
|
|
<meta name="robots" content="index,follow">
|
|
<meta name="googlebot" content="index,follow">
|
|
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta http-equiv="x-dns-prefetch-control" content="off">
|
|
|
|
<meta name="google" content="notranslate">
|
|
<meta name="google" content="nositelinkssearchbox">
|
|
|
|
<meta name="rating" content="General">
|
|
|
|
<meta name="url" content="https://example.com/">
|
|
<meta name="subject" content="your website's subject">
|
|
<meta name="description" content="A description of the page">
|
|
|
|
<title>Page Title</title>
|
|
|
|
<!-- Privacy -->
|
|
<meta name="twitter:dnt" content="on">
|
|
<meta name="pinterest" content="nopin" description="No pinning allowed.">
|
|
|
|
<!-- analytics -->
|
|
<!-- -->
|
|
|
|
<!-- Helps prevent duplicate content issues -->
|
|
<link href="https://example.com/2010/06/title-of-my-article" rel="canonical">
|
|
|
|
<!-- Gives a reference to a location in your document that may be in another language -->
|
|
<link href="https://de.example.com/2010/06/title-of-my-article" rel="alternate" hreflang="de">
|
|
|
|
<!-- Links to a document that contains an archive link to the current document -->
|
|
<link href="https://example.com/2003/05/" title="May 2003" rel="archives">
|
|
|
|
<!-- Android web manifest file -->
|
|
<link href="https://example.com/.webmanifest" rel="manifest">
|
|
|
|
<!-- Files listing who was involved in this site and copyrights -->
|
|
<link href="https://example.com/humans.txt" rel="author">
|
|
<link href="https://example.com/copyright.html" rel="copyright">
|
|
|
|
<!-- Feeds -->
|
|
<link href="https://example.com/rss.xml" type="application/rss+xml" title="RSS" rel="alternate">
|
|
<link href="https://example.com/feed.atom" type="application/atom+xml" title="Atom 0.3" rel="alternate">
|
|
|
|
<!-- Favicon -->
|
|
<link href="https://example.com/favicon.ico" rel="icon" sizes="16x16" type="image/icon">
|
|
<link href="https://example.com/favicon.svg" rel="icon" type="image/svg+xml">
|
|
<link href="https://example.com/favicon.png" rel="icon" sizes="192x192">
|
|
|
|
<!-- Font preloads (should be done for each font file) -->
|
|
<link href="https://example.com/fonts/fontfam/font.woff2" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
<!-- CSS -->
|
|
<link href="https://example.com/css/app.css" rel="stylesheet" media="screen">
|
|
<link href="https://example.com/css/print.css" rel="stylesheet" media="print">
|
|
|
|
<!-- JS that must be executed before the document is loaded -->
|
|
<script>
|
|
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
|
document.documentElement.classList.add("dark"); localStorage.theme = "dark";
|
|
} else {
|
|
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
|
|
}
|
|
</script>
|
|
<script src="https://example.com/js/vendor/axios.min.js" defer></script>
|
|
<script src="https://example.com/js/vendor/vue.min.js" defer></script>
|
|
<script src="https://example.com/js/app.js" defer></script>
|
|
|
|
</head>
|
|
<body class="font-sans antialiased">
|
|
<div id="app" class="min-h-screen bg-neutral-100">
|
|
<!-- content here -->
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|
|
]]></content>
|
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
|
<tabTrigger>htmlpage</tabTrigger>
|
|
<!-- Optional: Set a scope to limit where the snippet will trigger -->
|
|
<!-- <scope>source.python</scope> -->
|
|
</snippet>
|