-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (43 loc) · 1.13 KB
/
index.html
File metadata and controls
51 lines (43 loc) · 1.13 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
---
title: Home
layout: indexpage
---
{% assign currenturl = page.url | downcase | split: '/' %}
<div class="darkenedBackground">
<div class="indexPageHeader">
<nav>
{% if page.url == "/" %}
<a class="active" href="/"> Home</a>
{% else %}
<a href="/">Home</a>
{% endif %}
{% if currenturl[1] == "projects" %}
<a class="active" href="/projects">Projects</a>
{% else %}
<a href="/projects">Projects</a>
{% endif %}
{% if currenturl[1] == "thoughts" %}
<a class="active" href="/thoughts">Thoughts</a>
{% else %}
<a href="/thoughts">Thoughts</a>
{% endif %}
{% if currenturl[1] == "peru" %}
<a class="active" href="/peru">Peru</a>
{% else %}
<a href="/peru">Peru</a>
{% endif %}
{% if currenturl[1] == "donate" %}
<a class="active" href="/donate">Donate</a>
{% else %}
<a href="/donate">Donate</a>
{% endif %}
{% if currenturl[1] == "about" %}
<a class="active" href="/about">About</a>
{% else %}
<a href="/about">About</a>
{% endif %}
</nav>
<h1><span>Robbert Hofman</span></h1>
<p class="kicker">Technology enthusiast</p>
</div>
</div>