Skip to content

Commit 34b335e

Browse files
committed
Update baseurl and navigation bar links
1 parent eb3c03c commit 34b335e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: _config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
title: "RustPython"
2222
description: "An open source Python-3 (CPython >= 3.5.0) Interpreter written in Rust 🐍 😱 🤘"
23-
baseurl: "/rustpython.github.io" # the subpath of your site, e.g. /blog
24-
url: "https://mireille-raad.github.io" # the base hostname & protocol for your site, e.g. http://example.com
23+
# baseurl: "/" # the subpath of your site, e.g. /blog
24+
url: "https://rustpython.github.io" # the base hostname & protocol for your site, e.g. http://example.com
2525
github_username: RustPython
2626
disclaimer: "The disclaimer not to use this in production. Update this in the config.yml file at the root."
2727
github: https://github.com/RustPython/RustPython/
@@ -32,13 +32,13 @@ contributor_excerpt: "edit me in config.yml file at the root folder."
3232

3333
navigation:
3434
- title: Blog
35-
url: "blog"
35+
url: /blog
3636
- title: Docs
37-
url: https://github.com/RustPython/docs/
37+
url: /docs
3838
- title: GitHub
3939
url: https://github.com/RustPython/RustPython/
4040
- title: Gitter
41-
url: "https://gitter.im/rustpython/Lobby"
41+
url: https://gitter.im/rustpython/Lobby
4242

4343
# Build settings
4444
theme: minima

Diff for: _includes/header.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<header>
22
<nav class="menu w-100 text-center border-bottom">
33
<ul class="list-inline">
4-
<li class="m-small float-left"><a href="{{site.baseurl}}/">Home</a></li>
4+
<li class="m-small float-left"><a href="{{ site.baseurl }}">Home</a></li>
55
{% for item in site.navigation %}
6-
<li class="m-small float-left"><a href="{{ site.baseurl }}/{{ item.url }}">{{item.title}}</a></li>
6+
<li class="m-small float-left"><a href="{{ item.url | relativeurl }}">{{item.title}}</a></li>
77
{% endfor %}
88
</ul>
99
</nav>

0 commit comments

Comments
 (0)