-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.hbs
95 lines (74 loc) · 3.52 KB
/
default.hbs
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
<!DOCTYPE html>
<html lang="{{@site.locale}}" data-color-scheme="{{@custom.color_scheme}}" class="scroll-smooth" data-wf-page="661e416ff3198f0855f5c60c" data-wf-site="661e416ff3198f0855f5c573">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{!-- Page Meta --}}
<title>{{meta_title}}</title>
{{!-- Mobile Meta --}}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Theme color --}}
<meta name="theme-color" content="{{@site.accent_color}}">
{{!-- Font definitions --}}
{{> fonts}}
{{!-- Main theme scripts --}}
<script type="module" src="{{asset 'built/app.js'}}"></script>
<link href="{{asset 'vendor/css/normalize.css'}}" rel="stylesheet" type="text/css">
<link href="{{asset 'vendor/css/webflow.css'}}" rel="stylesheet" type="text/css">
<link href="{{asset 'vendor/css/umh-systems.webflow.css'}}" rel="stylesheet" type="text/css">
<link href="{{asset 'vendor/images/favicon.png'}}" rel="shortcut icon" type="image/x-icon">
<link href="{{asset 'vendor/images/webclip.png'}}" rel="apple-touch-icon">
{{!-- Styles --}}
<link rel="stylesheet" type="text/css" href="{{asset 'built/app.css'}}" />
{{!-- Theme configs --}}
{{> config}}
{{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}}
</head>
<body class="{{body_class}} subpixel-antialiased relative overflow-x-hidden bg-bgr text-typ"
x-data="{ menuOpen: false }" :class="menuOpen ? 'overflow-hidden' : 'overflow-y-auto'"
data-user="{{#if @member.paid}}paid-member{{else if @member}}free-member{{else}}visitor{{/if}}"
@keydown.escape="menuOpen = false" @keydown.cmk.k="document.querySelector('[data-ghost-search]').click()"
x-init="navigator.platform.includes('Win') && document.body.classList.add('is-win')"
>
{{!-- Progress Bar for posts --}}
{{> progress-bar}}
{{> "webflow/header"}}
{{!-- Header --}}
{{> header }}
{{!-- Menu & submenu --}}
{{> mobile-menu }}
{{> submenu
desktop_class="z-[50] min-w-[calc(100%_+_24px)] absolute flex flex-col gap-1 shadow-2xl border border-brd rounded-theme-xxs bg-bgr py-2 px-1.5 -ml-2 mt-11 opacity-0 invisible translate-y-1 transition-all"
mobile_class="hidden pl-4 flex flex-col gap-0.5 py-1 px-1.5 basis-full"
}}
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
<main class="main">
{{{body}}}
</main>
{{!-- CTA page with slug: /cta/ --}}
{{> cta }}
{{!-- Footer --}}
{{!-- {{> footer }} --}}
{{> "webflow/footer"}}
{{!-- Identify Posthog. The man posthog script is inserted through the posthog-injector worker in cloudflare. This here is just to identify --}}
<script>
{{#if @member}}
posthog.identify(
'{{@member.uuid}}',
{ email: '{{@member.email}}', name: '{{@member.name}}' }
);
{{/if}}
</script>
<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=661e416ff3198f0855f5c573"
type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<script src="{{asset 'vendor/js/webflow.js'}}" type="text/javascript"></script>
{{!-- Block for scripts --}}
{{{block "scripts"}}}
{{!-- Ghost outputs important scripts and data with this tag --}}
{{ghost_foot}}
</body>
</html>