[PATCH www] Fix index links on top-level pages
Linking to .. means linking to the directory above these pages, when we actually want to link to the directory these pages are in (which should display index.html). This doesn't have any effect on https://spectrum-os.org/, because the site is already at the top level, but it would cause a problem if the site was elsewhere -- for example, when viewing it locally while working on it. --- contributing.html | 2 +- design.html | 2 +- motivation.html | 2 +- participating.html | 2 +- todo.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contributing.html b/contributing.html index 430c52e..8999fee 100644 --- a/contributing.html +++ b/contributing.html @@ -13,7 +13,7 @@ <body> <nav> - <a href="..">Spectrum</a> + <a href=".">Spectrum</a> </nav> <h1>Contributing to Spectrum</h1> diff --git a/design.html b/design.html index 234f656..e725989 100644 --- a/design.html +++ b/design.html @@ -13,7 +13,7 @@ <body> <nav> - <a href="..">Spectrum</a> + <a href=".">Spectrum</a> </nav> <h1>Spectrum Design</h1> diff --git a/motivation.html b/motivation.html index af8e045..c7d5667 100644 --- a/motivation.html +++ b/motivation.html @@ -13,7 +13,7 @@ <body> <nav> - <a href="..">Spectrum</a> + <a href=".">Spectrum</a> </nav> <h1>Motivation for Spectrum</h1> diff --git a/participating.html b/participating.html index 18f940b..2d9acab 100644 --- a/participating.html +++ b/participating.html @@ -13,7 +13,7 @@ <body> <nav> - <a href="..">Spectrum</a> + <a href=".">Spectrum</a> </nav> <h1>Participating in Spectrum</h1> diff --git a/todo.html b/todo.html index 977179f..077f20a 100644 --- a/todo.html +++ b/todo.html @@ -13,7 +13,7 @@ <body> <nav> - <a href="..">Spectrum</a> + <a href=".">Spectrum</a> </nav> <h1>Contribution ideas</h1> -- 2.27.0
On Sat Jul 25, 2020 at 10:54 PM PDT, Alyssa Ross wrote:
Linking to .. means linking to the directory above these pages, when we actually want to link to the directory these pages are in (which should display index.html). This doesn't have any effect on https://spectrum-os.org/, because the site is already at the top level, but it would cause a problem if the site was elsewhere -- for example, when viewing it locally while working on it. --- contributing.html | 2 +- design.html | 2 +- motivation.html | 2 +- participating.html | 2 +- todo.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Cole Helbling
"Cole Helbling"
On Sat Jul 25, 2020 at 10:54 PM PDT, Alyssa Ross wrote:
Linking to .. means linking to the directory above these pages, when we actually want to link to the directory these pages are in (which should display index.html). This doesn't have any effect on https://spectrum-os.org/, because the site is already at the top level, but it would cause a problem if the site was elsewhere -- for example, when viewing it locally while working on it. --- contributing.html | 2 +- design.html | 2 +- motivation.html | 2 +- participating.html | 2 +- todo.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Cole Helbling
Thanks! Applied with a minor edit to also fix the new bibliography.html.
participants (2)
-
Alyssa Ross
-
Cole Helbling