-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgenerate.html
206 lines (199 loc) · 7.92 KB
/
generate.html
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script id="head-template" type="text/x-handlebars-template">
{{#each head.meta}}
<meta name="{{@key}}" content="{{this}}" />
{{/each}}
<title>{{this.head.title}}</title>
</script>
<link type="text/css" rel="stylesheet" title="Theme: Default" href="dist/css/themes/default/style.min.css" />
<link type="image/x-icon" rel="icon" href="dist/img/favicon.ico" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans" />
</head>
<body>
<nav>
<ul class="menu">
<li>
<a href="#about" title="About">About</a>
</li>
<li>
<a href="#work" title="Work">Work</a>
</li>
<li>
<a href="#talks" title="Talks">Talks</a>
</li>
</ul>
<script id="external-template" type="text/x-handlebars-template">
<ul class="external">
{{#each about.external}}
<li>
<a class="{{{idFallback this 'class'}}}" href="{{this.link}}" title="{{this.name}}">
<span class="svg svg-{{{idFallback this 'class'}}}"><span class="sr-only">{{this.name}}</span></span>
</a>
</li>
{{/each}}
</ul>
</script>
</nav>
<section class="about" id="about">
<script id="heading-template" type="text/x-handlebars-template">
<h1 id="top" class="d-none">{{this.head.heading}}</h1>
</script>
<h2>About</h2>
<div class="main">
<script id="about-template" type="text/x-handlebars-template">
<div class="aside">
<dl class="vcard">
<dt>Full Name</dt>
<dd>
<a title="{{this.about.name.first}} {{this.about.name.last}}" class="xfn-me secondary" rel="me" href="{{this.about.link}}">
<span class="fn n">
<span class="given-name">{{this.about.name.first}}</span>
<span class="family-name">{{this.about.name.last}}</span>
</span>
</a>
<div class="url d-none">{{this.about.website}}</div>
</dd>
<dt>Organization</dt>
<dd class="org">
{{this.about.organization.position}} at <a href="{{this.about.organization.link}} " class="secondary" title="{{this.about.organization.name}}">{{this.about.organization.name}}</a>
</dd>
<dt class="type">Current Location</dt>
<dd class="adr">
<span class="geo">
<a title="See location" class="microformat-geo secondary" href="https://www.google.com/maps/place/{{this.about.address.locality}},{{this.about.address.country}}/@{{this.about.address.latitude}},{{this.about.address.longitude}}">
<span class="locality">{{this.about.address.locality}}</span>,
<span class="country-name">{{this.about.address.country}}</span>
<span class="latitude d-none">{{this.about.address.latitude}}</span>
<span class="longitude d-none">{{this.about.address.longitude}}</span>
</a>
</span>
</dd>
</dl>
</div>
<div class="summary">
{{#each about.quotes}}
<p>{{{this}}}</p>
{{/each}}
</div>
</script>
</div>
</section>
<section class="work" id="work">
<h2>Work</h2>
<script id="portfolio-template" type="text/x-handlebars-template">
<ul class="portfolio">
{{#each projects}}
<li class="portfolio-item">
<div class="portfolio-content">
<figure class="portfolio-cover" title="{{this.name}}">
<a href="{{this.url}}" title="{{this.name}}">
{{#if this.covers.[404]}}
<img class="portfolio-image img-thumbnail" src="{{this.covers.[404]}}" alt="{{this.name}}" title="{{this.name}}"/>
{{else}}
{{#if this.covers.[230]}}
<img class="portfolio-image img-thumbnail" src="{{this.covers.[230]}}" alt="{{this.name}}"/>
{{else}}
<img class="portfolio-image img-thumbnail" src="{{this.covers.[202]}}" alt="{{this.name}}"/>
{{/if}}
{{/if}}
</a>
</figure>
<div class="portfolio-title">
<a href="{{this.url}}" title="{{this.name}}">{{this.name}}</a>
</div>
<div class="portfolio-fields">
<ul class="field-list">
{{#each this.fields}}
<li class="field-item">{{this}}</li>
{{/each}}
</ul>
</div>
</div>
</li>
{{/each}}
</ul>
</script>
</section>
<section class="talks" id="talks">
<h2>Talks</h2>
<script id="video-template" type="text/x-handlebars-template">
<li class="xfolkentry video">
<iframe src="https://www.youtube.com/embed/{{this.video}}" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<span class="video-content">
<a class="taggedlink" href="https://www.youtube.com/watch?v={{this.video}}">{{this.name}}</a>
{{#each this.event}}
{{#if this.recorded}}
<span class="video-details">
<span class="dtstart">{{this.date}}</span>,
<a class="location" href="{{this.link}}" title="{{this.title}}">{{this.name}}</a>, {{this.location}}
</span>
{{/if}}
{{/each}}
</span>
</li>
</script>
<script id="talk-template" type="text/x-handlebars-template">
<li class="xfolkentry">
<a class="taggedlink" href="{{this.link}}">{{this.name}}</a>
<ul>
{{#each this.event}}
<li class="event">
<span class="dtstart">{{this.date}}</span>,
<a class="location" href="{{this.link}}" title="{{#if this.title}}{{this.title}}{{else}}{{this.name}}{{/if}}">{{this.name}}</a>, {{this.location}}
{{#if this.recorded}}
{{#if this.video}}
<a class="location" href="{{this.video}}"> (Video)</a>
{{else}}
<a class="location" href="https://www.youtube.com/watch?v={{../video}}"> (Video)</a>
{{/if}}
{{/if}}
</li>
{{/each}}
</ul>
</li>
</script>
<script id="talks-template" type="text/x-handlebars-template">
<ul class="promoted">
{{#each talks.data}}
{{#if this.promoted}}
{{> videoTemplate}}
{{/if}}
{{/each}}
</ul>
<ul>
{{#each talks.data}}
{{#ifCond @index "< " ../talks.perPage}}
{{> talkTemplate}}
{{/ifCond}}
{{/each}}
</ul>
<input id="toggle" type="checkbox"/>
<label for="toggle" class="more"></label>
<ul class="collapse" id="moreTalks">
{{#each talks.data}}
{{#ifCond @index ">=" ../talks.perPage}}
{{> talkTemplate}}
{{/ifCond}}
{{/each}}
</ul>
</script>
</section>
<footer>
<script id="license-template" type="text/x-handlebars-template">
<span class="dtstart">{{this.license.date}}</span> <span class="svg svg-cc"><span class="sr-only">CC</span></span> <a rel="license" href="{{this.license.link}}" title="{{this.license.title}}">{{this.license.name}}</a> {{{this.license.contact}}}
</script>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.12/handlebars.min.js" crossorigin="anonymous"></script>
<script src="dist/js/risherry.min.js"></script>
<script id="analytics-template" type="text/x-handlebars-template">
<script>
{{{this.analyticsTracker}}}
</script>
</script>
</body>
</html>