Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34b335e

Browse files
committed
Update baseurl and navigation bar links
1 parenteb3c03c commit34b335e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎_config.yml‎

Lines changed: 5 additions & 5 deletions
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

‎_includes/header.html‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp