summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-12-15 14:08:47 -0500
committerDaniel Micay <danielmicay@gmail.com>2021-12-15 14:08:47 -0500
commit21355702c0e7479c322108a3efd9c23bee136aff (patch)
tree84be6a28d6a1a1952e2567b5c10bc625f2fbc661
parent8e9d6df72e6e7832420e263c3b16045c83021ba6 (diff)
remove history section from main page
-rw-r--r--static/index.html11
-rw-r--r--static/js/redirect.js3
2 files changed, 5 insertions, 9 deletions
diff --git a/static/index.html b/static/index.html
index da0f26da..92e0865d 100644
--- a/static/index.html
+++ b/static/index.html
@@ -79,7 +79,8 @@
compatibility developed as a non-profit <a href="/source">open source</a>
project. It's focused on the research and development of privacy and security
technology including substantial improvements to sandboxing, exploit
- mitigations and the permission model.</p>
+ mitigations and the permission model. It was founded in 2014 and was
+ <a href="/history/copperheados">formerly known as CopperheadOS</a>.</p>
<p>GrapheneOS improves the privacy and security of the OS from the bottom up.
It deploys technologies to mitigate whole classes of vulnerabilities and make
@@ -124,14 +125,6 @@
and Google apps.</p>
</section>
- <section id="history">
- <h2><a href="#history">History</a></h2>
-
- <p>GrapheneOS was founded as an open source project in late 2014. It was formerly
- known as CopperheadOS. For more details, see the <a href="/history/">history
- page</a>.</p>
- </section>
-
<section id="upstream">
<h2><a href="#upstream">Upstream contributions</a></h2>
diff --git a/static/js/redirect.js b/static/js/redirect.js
index de481d9b..ac5f3bd2 100644
--- a/static/js/redirect.js
+++ b/static/js/redirect.js
@@ -9,8 +9,11 @@
// https://www.w3.org/Protocols/HTTP/Fragment/draft-bos-http-redirect-00.txt
const redirects = new Map([
+ // removed main page sections
["/#copyright-and-licensing", "/faq#copyright-and-licensing"],
+ ["/#history", "/history"],
["/#roadmap", "/faq#roadmap"],
+
["/usage#default-connections", "/faq#default-connections"],
["/faq#dns", "/faq#custom-dns"],
["/install/cli#fastboot-as-non-root", "/install/cli#flashing-as-non-root"],