-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault-backup.hbs
70 lines (54 loc) · 2.26 KB
/
default-backup.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
<!DOCTYPE html>
<html lang="{{@site.locale}}" data-color-scheme="{{@custom.color_scheme}}" class="scroll-smooth">
<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>
{{!-- 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}}
{{!-- 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 }}
{{!-- Block for scripts --}}
{{{block "scripts"}}}
{{!-- Ghost outputs important scripts and data with this tag --}}
{{ghost_foot}}
</body>
</html>