-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredirect.pug
30 lines (30 loc) · 1.28 KB
/
redirect.pug
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
doctype
html(style="height: 100%;")
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0")
meta(http-equiv="refresh", content=`0; URL='${redirect.destination}'`)
title Redirecting to: #{redirect.destination}
style.
a, a:hover, a:active, a:visited {
color: #cc5630;
text-decoration: none;
}
body(style="background-color: #222830; color: #f1f2f4; height: 100%; display: flex; justify-content: space-around; align-items: center; min-height: 24em;")
div(style="max-width: 90%; width: 600px; text-align: center;")
h1 Redirecting to:
h2
a(href=redirect.destination, style="overflow-wrap: break-word;")= redirect.destination
p If you are not automatically redirected,
br
| please use #[a(href=redirect.destination) the link directly].
p ☺️ Enjoy ☺️
//- Analytics
if meta.build.env === 'production'
<!-- Global site tag (gtag.js) - Google Analytics -->
script(async src="https://www.googletagmanager.com/gtag/js?id=UA-1173222-28")
script().
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-1173222-28');