Use BaseURL when linking

This commit is contained in:
Danila Fedorin 2022-12-30 13:28:18 -08:00
parent b5e2821918
commit 66d5125b88

View File

@ -3,13 +3,13 @@
</div> </div>
<nav> <nav>
<div class="container"> <div class="container">
<a href="/">Home</a> <a href="{{ .Site.BaseURL }}">Home</a>
<a href="/about">About</a> <a href="{{ relref . "about" }}">About</a>
<a href="https://github.com/DanilaFe">GitHub</a> <a href="https://github.com/DanilaFe">GitHub</a>
<a href="/Resume-Danila-Fedorin.pdf">Resume</a> <a href="{{ .Site.BaseURL }}/Resume-Danila-Fedorin.pdf">Resume</a>
<a href="/tags">Tags</a> <a href="{{ .Site.BaseURL }}/tags">Tags</a>
<a href="/favorites">Favorites</a> <a href="{{ .Site.BaseURL }}/favorites">Favorites</a>
<a href="/search">Search</a> <a href="{{ .Site.BaseURL }}/search">Search</a>
<a href="/blog">All Posts</a> <a href="{{ relref . "blog" }}">All Posts</a>
</div> </div>
</nav> </nav>