commit 4b686403653d89e4abc81cf898f4977b315d655d parent 1c87af0c2435dfd45ef487c8aee33ca6a48fbab5 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Wed, 1 Dec 2021 00:29:52 +0100 nav: use relative_url Diffstat:
M | _includes/nav.html | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/_includes/nav.html b/_includes/nav.html @@ -1,10 +1,10 @@ <nav class="nav"> <div class="container"> - <h1 class="logo"><a href="{{ '/' | prepend: site.baseurl | prepend: site.url }}">{{ site.title_left }}<span>{{ site.title_right }}</span></a></h1> + <h1 class="logo"><a href="{{ '/' | relative_url }}">{{ site.title_left }}<span>{{ site.title_right }}</span></a></h1> <ul class="navbar"> - <li><a href="{{ '/about' | prepend: site.baseurl | prepend: site.url }}">About</a></li> - <li><a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" target="_blank">{% octicon rss %}</a></li> + <li><a href="{{ '/about' | relative_url }}">About</a></li> + <li><a href="{{ "/feed.xml" | relative_url }}" target="_blank">{% octicon rss %}</a></li> <li><a href="https://codeberg.org/in0rdr">{% octicon repo %}</a></li> <li><a href="https://www.linkedin.com/in/andreas-gruhler-ba4301160">{% octicon person-add %}</a></li> <li><a href="https://diary.in0rdr.ch">{% octicon book %}</a></li>