Skip to content

Commit 75f2ef3

Browse files
committed
link fix
1 parent 53e2a96 commit 75f2ef3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

_data/navigation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
main:
1111
- title: "About"
12-
url: /
12+
url: /about/
1313

1414
- title: "CV"
1515
url: /cv/

_includes/masthead.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
<!-- Left: Site Title -->
88
<div class="nav-left">
9-
<a class="site-title masthead__menu-item--lg" href="{{ base_path }}/" style="font-weight: bold;">{{ site.title }}</a>
9+
<a class="site-title masthead__menu-item--lg" href="{{ site.baseurl }}/" style="font-weight: bold;">{{ site.title }}</a>
1010
</div>
1111

1212
<!-- Center: Navigation Links -->
1313
<ul class="visible-links nav-center" style="display: flex; justify-content: center; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0;">
1414
{% for link in site.data.navigation.main %}
15-
{% assign domain = link.url contains 'http' | ternary: '', base_path %}
15+
{% assign domain = link.url contains 'http' | ternary: '', site.baseurl %}
1616
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
1717
{% endfor %}
1818
</ul>

_pages/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ In my free time I enjoy learning Japanese & Korean, backpacking the world, snowb
2727

2828
-----
2929

30-
*This website showcases my research, projects, and experiences in the cybersecurity field. Feel free to explore my publications, talks, and portfolio to learn more about my work.*
30+
*This website showcases my research, projects, and experiences in the cybersecurity field. Feel free to explore my blogs to learn more about my work.*

0 commit comments

Comments
 (0)