This repository was archived by the owner on Aug 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (96 loc) · 3.59 KB
/
index.html
File metadata and controls
96 lines (96 loc) · 3.59 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script defer src="/_vercel/insights/script.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css"
/>
<title>Vercel HTML Starter</title>
<meta
name="description"
content="High-performance HTML based website template."
/>
</head>
<body>
<h1>Vercel HTML Starter</h1>
<p>
This template is a simple, but powerful single
<code>index.html</code> file deployed to
<a href="https://vercel.com">Vercel</a>. When your site is deployed, all
static assets (like HTML, JavaScript, CSS, images, and more) are deployed
globally to every
<a href="https://vercel.com/docs/concepts/edge-network/overview"
>Vercel Edge Network</a
>
region.
</p>
<h2>Simple, privacy-friendly analytics</h2>
<p>
Want to understand your visitor traffic? Vercel Analytics gives you
first-party, privacy-friendly traffic analytics for your HTML site. This
template is already configured using the following script:
</p>
<pre><code><script defer src="/_vercel/insights/script.js"></script></code></pre>
<p>
Learn more about
<a href="https://vercel.com/analytics">Vercel Analytics</a>.
</p>
<h2>Integrated with git</h2>
<p>
Deploying updates to your site is as simple as
<code>git push</code> thanks to Vercel's advanced
<a href="https://vercel.com/docs/concepts/git">Git Integration</a>.
Support for GitHub, GitLab, Bitbucket is zero-configuration, and with the
flexible Vercel CLI and API, you can integrate with any tool possible.
</p>
<p>
Learn more about
<a href="https://vercel.com/docs/concepts/git">Git Integration</a>.
</p>
<h2>Fast <code>gzip</code> compression</h2>
<p>
To help ensure the smallest possible file sizes for your static assets,
the Vercel Edge Network compresses files by default using
<code>gzip</code>. You can also optionally use
<code>brotli</code> compressesion if you prefer.
</p>
<p>
Learn more about
<a href="https://vercel.com/docs/concepts/edge-network/compression"
>compression</a
>.
</p>
<h2>Advanced routing configuration</h2>
<p>
Vercel gives you a variety of ways to configure the routing of your
website. For example, adding redirects, rewrites, or headers to your page.
While you can use <code>vercel.json</code> to define these through JSON,
you can also express your routing configuration as code using
<a href="https://vercel.com/docs/concepts/functions/edge-middleware"
>Vercel Edge Middleware</a
>.
</p>
<p>
Middleware runs before the
<a href="https://vercel.com/docs/concepts/edge-network/caching"
>Vercel Edge Network Cache</a
>, so you can configure routing exactly as your application needs. For
example, this template uses <code>middleware.js</code> defined in the root
of the repository to add additional security headers to the site:
</p>
<pre><code>referrer-policy: origin-when-cross-origin
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-dns-prefetch-control: on
x-frame-options: DENY</code></pre>
<p>
Learn more about
<a href="https://vercel.com/docs/concepts/functions/edge-middleware"
>Vercel Edge Middleware</a
>.
</p>
</body>
</html>