-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault.html
More file actions
142 lines (134 loc) · 5.29 KB
/
Copy pathdefault.html
File metadata and controls
142 lines (134 loc) · 5.29 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
{% include 'meta.html' %}
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap"
as="style"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap"
media="print"
onload="this.media='all'"
/>
<link
rel="alternate"
type="application/atom+xml"
title="Atom feed for studioromeo.co.uk"
href="/feed.xml"
/>
<noscript>
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap"
rel="stylesheet"
/>
</noscript>
<link
rel="icon"
type="image/x-icon"
href="/favicon.ico?v=1"
sizes="any"
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=1" />
<link rel="stylesheet" href="/assets/css/main.css" />
<title>
{%- if title -%}{{ title }} | {{ site.title }} {%- else -%} {{
site.title }} | {{ site.description}}{%- endif -%}
</title>
</head>
<body>
<header>
<nav class="c-header">
<a
class="c-header__logo"
href="/"
title="{{ site.author.name }}"
>
{% include 'logo.svg' %}
</a>
<ul class="o-hor-nav">
<li class="o-hor-nav__item">
<a class="c-nav-item" href="{{ site.author.bluesky }}">
<svg
class="c-nav-item__icon"
width="32"
viewBox="0 0 600 530"
preserveAspectRatio="xMidYMin"
>
<title>Bluesky</title>
<use
xlink:href="/img/assets/icons.svg#icon-bluesky"
></use>
</svg>
</a>
</li>
<li class="o-hor-nav__item">
<a class="c-nav-item" href="{{ site.author.linkedin }}">
<svg
class="c-nav-item__icon"
width="32"
viewBox="0 0 600 530"
preserveAspectRatio="xMidYMin"
>
<title>LinkedIn</title>
<use
xlink:href="/img/assets/icons.svg#icon-linkedin"
></use>
</svg>
</a>
</li>
<li class="o-hor-nav__item">
<a class="c-nav-item" href="{{ site.author.github }}">
<svg
class="c-nav-item__icon"
width="32"
viewBox="0 0 32 32"
preserveAspectRatio="xMidYMin"
>
<title>Github</title>
<use
xlink:href="/img/assets/icons.svg#icon-github"
></use>
</svg>
</a>
</li>
<li class="o-hor-nav__item">
<a class="c-nav-item" href="/feed.xml">
<svg
class="c-nav-item__icon"
width="32"
viewBox="0 0 24 24"
preserveAspectRatio="xMidYMin"
>
<title>Atom Feed</title>
<use
xlink:href="/img/assets/icons.svg#icon-atom"
></use>
</svg>
</a>
</li>
</ul>
</nav>
</header>
<main>{{content}}</main>
<script>
document.body.addEventListener("click", function (e) {
if (event.target.classList.contains("o-media")) {
e.preventDefault();
let f = document.createElement("iframe");
f.src = e.target.href + "?autoplay=1";
f.classList.add("o-media", "c-media--playing");
f.width = e.target.offsetWidth;
f.height = e.target.offsetHeight;
e.target.parentNode.insertBefore(f, e.target);
e.target.remove();
}
});
</script>
</body>
</html>