summaryrefslogtreecommitdiffhomepage
path: root/resources/pug/include/layout-main.pug
blob: 46f6d650cd337979667cf52fade0eb3dbb4e766e (plain) (blame)
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
extends layout.pug

block extra_head
	meta(name='description', content='Compiler engineer and theoretical linguist. Software projects and academic publications.')

block titleContainer

block content
	header#introduction
		div
			img#profile(alt="Camil Staps", src="/assets/img/profile.jpg")
			div#basicinfo
				.container
					h1 Camil Staps
					p.text-muted
						span [kaˈmil stɑps] 
						span.opt-break he/his
						br
						span.tt.obfuscate.wrap-anywhere
							| info@c
							span dummy
							| amilst
							span dummy
							| aps.nl
					p(style="margin-bottom:1em;")
						a(href="https://leidenuni.academia.edu/CamilStaps")
							i.ai.ai-lg.ai-academia(title="Academia.edu")
						|  
						a(href="https://orcid.org/0000-0003-1164-6838")
							i.ai.ai-lg.ai-orcid(title="ORCiD")
						|  
						a(href="https://gitlab.com/camilstaps")
							i.fab.fa-lg.fa-gitlab(title="GitLab")
						|  
						a(href="https://github.com/camilstaps")
							i.fab.fa-lg.fa-github(title="GitHub")
						|  
						a(href="https://nl.linkedin.com/in/camilstaps")
							i.fab.fa-lg.fa-linkedin(title="LinkedIn")

				ul.nav.nav-tabs
					block set_page
					-
						function item_is_active (item) {
							return item.link == page;
						}
						items = [
							{name: 'About', link: '/'},
							{name: 'Linguistics', link: 'linguistics.html'},
							{name: 'Clean', link: 'clean.html'},
						];

					each item in items
						li.nav-item(role='presentation')
							a.nav-link(href=item.link, class=item_is_active(item) ? 'active' : '')= item.name

	block page