on master help sign in
added trailing slash to nav anchors
9c4abacfriederjanmoerman
config.toml+7−7
@@ -6,7 +6,7 @@ description = "Urbit is a personal server built from scratch."
6default_language = "en"
6default_language = "en"
7
7
8# The URL the site will be built for
8# The URL the site will be built for
9−base_url = "https://urbit.org"
9+base_url = "https://hardcodepunk.be/_private/urbit"
10
10
11# Whether to automatically compile all Sass files in the sass directory
11# Whether to automatically compile all Sass files in the sass directory
12compile_sass = true
12compile_sass = true
@@ -33,15 +33,15 @@ taxonomies = [
33[extra]
33[extra]
34urbit_menu = [
34urbit_menu = [
35 {url = "$BASE_URL", name = "Urbit"},
35 {url = "$BASE_URL", name = "Urbit"},
36− {url = "$BASE_URL/primer", name = "Primer"},
36+ {url = "$BASE_URL/primer/", name = "Primer"},
37− {url = "$BASE_URL/posts", name = "Posts"},
37+ {url = "$BASE_URL/posts/", name = "Posts"},
38− {url = "$BASE_URL/docs", name = "Docs"},
38+ {url = "$BASE_URL/docs/", name = "Docs"},
39]
39]
40
40
41urbit_footer = [
41urbit_footer = [
42− {url = "$BASE_URL/privacy", name = "Privacy Policy"},
42+ {url = "$BASE_URL/privacy/", name = "Privacy Policy"},
43− {url = "$BASE_URL/tos", name = "Terms of Service"},
43+ {url = "$BASE_URL/tos/", name = "Terms of Service"},
44− {url = "$BASE_URL/bounty", name = "Bug Bounty + Security"},
44+ {url = "$BASE_URL/bounty/", name = "Bug Bounty + Security"},
45]
45]
46
46
47docs_number_chapters = true
47docs_number_chapters = true
templates/index.html+3−3
@@ -9,7 +9,7 @@
9 <ul class="list">
9 <ul class="list">
10 <li class="list__item">
10 <li class="list__item">
11 <h2>
11 <h2>
12− <a href="{{config.base_url ~ "/primer"}}">
12+ <a href="{{config.base_url ~ "/primer/"}}">
13 Primer
13 Primer
14 </a>
14 </a>
15 </h2>
15 </h2>
@@ -19,7 +19,7 @@
19 </li>
19 </li>
20 <li class="list__item">
20 <li class="list__item">
21 <h2>
21 <h2>
22− <a href="{{config.base_url ~ "/posts"}}">
22+ <a href="{{config.base_url ~ "/posts/"}}">
23 Posts
23 Posts
24 </a>
24 </a>
25 </h2>
25 </h2>
@@ -29,7 +29,7 @@
29 </li>
29 </li>
30 <li class="list__item">
30 <li class="list__item">
31 <h2>
31 <h2>
32− <a href="{{config.base_url ~ "/docs"}}">
32+ <a href="{{config.base_url ~ "/docs/"}}">
33 Docs
33 Docs
34 </a>
34 </a>
35 </h2>
35 </h2>