Skip to content

Commit eb9678f

Browse files
authored
edit header
1 parent 63dd5ce commit eb9678f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_layouts/default.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
<header>
4040
<nav>
4141

42-
<a href="/" class="current">Home</a>
42+
<a href="/" {% if page.url = "/" %}class="current"{% endif %}>Home</a>
4343

44-
<a href="/community/">Community</a>
44+
<a href="/community/" {% if page.url = "/community/" %}class="current"{% endif %}>Community</a>
4545

46-
<a href="/events/">Events</a>
46+
<a href="/events/" {% if page.url = "/events/" %}class="current"{% endif %}>Events</a>
4747

48-
<a href="/projects/">Projects</a>
48+
<a href="/projects/" {% if page.url = "/projects/" %}class="current"{% endif %}>Projects</a>
4949

5050
<a href="https://github.com/{{site.github}}">GitHub</a>
5151

0 commit comments

Comments
 (0)