on master help sign in
added trailing slash to nav anchors
commit9c4abac15a836812e522e19047751895ae7344c5 authorfriederjanmoerman <hijbrid@gmail.com> dateWed 8 May 2019, 15:21 (7 years ago) parente7b868f
2 files changed+10−10
config.toml+7−7 templates/index.html+3−3
config.toml+7−7
@@ -6,7 +6,7 @@ description = "Urbit is a personal server built from scratch."
66default_language = "en"
77
88# The URL the site will be built for
9−base_url = "https://urbit.org"
9+base_url = "https://hardcodepunk.be/_private/urbit"
1010
1111# Whether to automatically compile all Sass files in the sass directory
1212compile_sass = true
@@ -33,15 +33,15 @@ taxonomies = [
3333[extra]
3434urbit_menu = [
3535 {url = "$BASE_URL", name = "Urbit"},
36− {url = "$BASE_URL/primer", name = "Primer"},
37− {url = "$BASE_URL/posts", name = "Posts"},
38− {url = "$BASE_URL/docs", name = "Docs"},
36+ {url = "$BASE_URL/primer/", name = "Primer"},
37+ {url = "$BASE_URL/posts/", name = "Posts"},
38+ {url = "$BASE_URL/docs/", name = "Docs"},
3939]
4040
4141urbit_footer = [
42− {url = "$BASE_URL/privacy", name = "Privacy Policy"},
43− {url = "$BASE_URL/tos", name = "Terms of Service"},
44− {url = "$BASE_URL/bounty", name = "Bug Bounty + Security"},
42+ {url = "$BASE_URL/privacy/", name = "Privacy Policy"},
43+ {url = "$BASE_URL/tos/", name = "Terms of Service"},
44+ {url = "$BASE_URL/bounty/", name = "Bug Bounty + Security"},
4545]
4646
4747docs_number_chapters = true
templates/index.html+3−3
@@ -9,7 +9,7 @@
99 <ul class="list">
1010 <li class="list__item">
1111 <h2>
12− <a href="{{config.base_url ~ "/primer"}}">
12+ <a href="{{config.base_url ~ "/primer/"}}">
1313 Primer
1414 </a>
1515 </h2>
@@ -19,7 +19,7 @@
1919 </li>
2020 <li class="list__item">
2121 <h2>
22− <a href="{{config.base_url ~ "/posts"}}">
22+ <a href="{{config.base_url ~ "/posts/"}}">
2323 Posts
2424 </a>
2525 </h2>
@@ -29,7 +29,7 @@
2929 </li>
3030 <li class="list__item">
3131 <h2>
32− <a href="{{config.base_url ~ "/docs"}}">
32+ <a href="{{config.base_url ~ "/docs/"}}">
3333 Docs
3434 </a>
3535 </h2>