-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
111 lines (104 loc) · 4.06 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{meta_title}}</title>
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
<link rel="icon" href="https://www.edony.ink/favicon.ico" type="image/x-icon" >
<link rel="icon" href="https://www.edony.ink/favicon_32x32.ico" sizes="32x32" type="image/x-icon" >
<link rel="shortcut icon" href="https://www.edony.ink/favicon.ico" type="image/x-icon" >
{{ghost_head}}
{{#if @custom.show_google_ads}}
{{#is "post"}}
<style>
#aswift_1_host, #aswift_2_host {
display: inline-block;
position: relative;
/* Move the element to the right by 50% of the container's width */
left: 50%;
/* Calculates 50% of the element's width, and moves it by that */
/* amount across the X-axis to the left */
transform: translateX(-50%);
}
.ads_display {
position:relative;
width:100%;
min-height:100%;
overflow:auto;
margin-top:8px;
margin-bottom:8px;
margin-left:auto;
margin-right:auto;
padding-top:8px;
padding-bottom:8px;
padding-top:12px;
z-index:30;
}
ins.adsbygoogle[data-ad-status="unfilled"] {
display: none !important;
}
</style>
{{/is}}
{{/if}}
</head>
<body class="{{body_class}}{{{block "body_class"}}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}">
{{> icons}}
<div class="site">
{{> header}}
{{#is "home"}}
{{> cover}}
{{#if @custom.show_featured_posts}}
{{> featured}}
{{/if}}
{{/is}}
<div class="site-content">
{{{body}}}
</div>
{{> footer}}
{{> modal}}
{{> pswp}}
</div>
<script
src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous">
</script>
<script src="{{asset "built/main.min.js"}}"></script>
{{ghost_foot}}
{{#if @custom.show_google_ads}}
{{#is "post"}}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1642118466411022" crossorigin="anonymous"></script>
<!-- Multiplex Unit -->
<div class="ads_display">
<ins class="adsbygoogle"
style="display:block"
data-matched-content-rows-num="3,3"
data-matched-content-columns-num="1,3"
data-matched-content-ui-type="image_stacked,image_stacked"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-1642118466411022"
data-ad-slot="7148428595"></ins>
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
{{/is}}
{{#is "post"}}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1642118466411022" crossorigin="anonymous"></script>
<!-- Square Unit -->
<div class="ads_display">
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1642118466411022"
data-ad-slot="8357815902"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
{{/is}}
{{/if}}
</body>
</html>