patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH www] Fix index links on top-level pages
@ 2020-07-26  5:54 Alyssa Ross
  2020-07-27 18:44 ` Cole Helbling
  0 siblings, 1 reply; 3+ messages in thread
From: Alyssa Ross @ 2020-07-26  5:54 UTC (permalink / raw)
  To: devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH www] Fix index links on top-level pages
  2020-07-26  5:54 [PATCH www] Fix index links on top-level pages Alyssa Ross
@ 2020-07-27 18:44 ` Cole Helbling
  2020-07-31 11:59   ` Alyssa Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Cole Helbling @ 2020-07-27 18:44 UTC (permalink / raw)
  To: Alyssa Ross, devel

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.e.helbling@outlook.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH www] Fix index links on top-level pages
  2020-07-27 18:44 ` Cole Helbling
@ 2020-07-31 11:59   ` Alyssa Ross
  0 siblings, 0 replies; 3+ messages in thread
From: Alyssa Ross @ 2020-07-31 11:59 UTC (permalink / raw)
  To: Cole Helbling; +Cc: devel

"Cole Helbling" <cole.e.helbling@outlook.com> writes:

> 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.e.helbling@outlook.com>

Thanks!  Applied with a minor edit to also fix the new
bibliography.html.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-31 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26  5:54 [PATCH www] Fix index links on top-level pages Alyssa Ross
2020-07-27 18:44 ` Cole Helbling
2020-07-31 11:59   ` Alyssa Ross

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).