Skip to content

Commit 3d2e05b

Browse files
committed
Fix links
1 parent f277b04 commit 3d2e05b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

_includes/header.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ <h1>
1111
<nav>
1212
<ul class="nav-menu">
1313
<li><a href="{{ '/' | relative_url }}" {% if page.url == '/' or page.url == '/index.html' %}class="active"{% endif %}>Home</a></li>
14-
<li><a href="{{ '/about/' | relative_url }}" {% if page.url == '/about/' or page.url == '/about.html' %}class="active"{% endif %}>About</a></li>
15-
<li><a href="{{ '/people/' | relative_url }}" {% if page.url == '/people/' or page.url == '/people.html' %}class="active"{% endif %}>People</a></li>
16-
<li><a href="{{ '/news/' | relative_url }}" {% if page.url == '/news/' or page.url == '/news.html' %}class="active"{% endif %}>News</a></li>
17-
<li><a href="{{ '/publications/' | relative_url }}" {% if page.url == '/publications/' or page.url == '/publications.html' %}class="active"{% endif %}>Publications</a></li>
14+
<li><a href="{{ '/about' | relative_url }}" {% if page.url == '/about' or page.url == '/about.html' %}class="active"{% endif %}>About</a></li>
15+
<li><a href="{{ '/people' | relative_url }}" {% if page.url == '/people' or page.url == '/people.html' %}class="active"{% endif %}>People</a></li>
16+
<li><a href="{{ '/news' | relative_url }}" {% if page.url == '/news' or page.url == '/news.html' %}class="active"{% endif %}>News</a></li>
17+
<li><a href="{{ '/publications' | relative_url }}" {% if page.url == '/publications' or page.url == '/publications.html' %}class="active"{% endif %}>Publications</a></li>
1818
</ul>
1919
</nav>
2020
</div>

index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ title: Home
5252
{% endfor %}
5353

5454
<div style="text-align: center; margin-top: 2rem;">
55-
<a href="{{ '/news/' | relative_url }}" class="btn">View All News</a>
55+
<a href="{{ '/news' | relative_url }}" class="btn">View All News</a>
5656
</div>
5757
</section>
5858

@@ -63,12 +63,12 @@ title: Home
6363
<span class="title-line-2">Resources</span>
6464
</h2>
6565
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem;">
66-
<a href="{{ '/people/' | relative_url }}" class="card" style="text-decoration: none; text-align: center;">
66+
<a href="{{ '/people' | relative_url }}" class="card" style="text-decoration: none; text-align: center;">
6767
<h3>Meet Our Team</h3>
6868
<p>Learn about our researchers and collaborators</p>
6969
</a>
7070
71-
<a href="{{ '/publications/' | relative_url }}" class="card" style="text-decoration: none; text-align: center;">
71+
<a href="{{ '/publications' | relative_url }}" class="card" style="text-decoration: none; text-align: center;">
7272
<h3>Publications</h3>
7373
<p>Browse our research papers and presentations</p>
7474
</a>

people.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ title: People
3737
<p>
3838
We offer research opportunities to MIT students and welcome collaborations with researchers worldwide.
3939
</p>
40-
<a href="{{ '/about/' | relative_url }}" class="btn">Learn About Opportunities</a>
40+
<a href="{{ '/about' | relative_url }}" class="btn">Learn About Opportunities</a>
4141
</div>
4242
</section>
4343
</div>

0 commit comments

Comments
 (0)