From 150608e016fe9c8c2e8a5af645db50acc1d85fe1 Mon Sep 17 00:00:00 2001 From: smdyv <88971341+smdyv@users.noreply.github.com> Date: Thu, 13 Jul 2023 17:06:57 +0200 Subject: Use simple templating for static processing --- static/install/cli.html | 31 ++----------------------------- static/install/index.html | 33 ++++----------------------------- static/install/web.html | 31 ++----------------------------- 3 files changed, 8 insertions(+), 87 deletions(-) (limited to 'static/install') diff --git a/static/install/cli.html b/static/install/cli.html index 8a64c22a..2e9d8e0e 100644 --- a/static/install/cli.html +++ b/static/install/cli.html @@ -31,24 +31,7 @@ [[js|/js/redirect.js]] -
- -
+ {% include "header.html" %}

CLI install guide

@@ -650,16 +633,6 @@ curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-202111012
- + {% include "footer.html" %} diff --git a/static/install/index.html b/static/install/index.html index f5414a03..77691640 100644 --- a/static/install/index.html +++ b/static/install/index.html @@ -31,24 +31,9 @@ [[js|/js/redirect.js]] -
- -
+ {% with current_page="install" %} + {% include "header.html" %} + {% endwith %}

Install

@@ -73,16 +58,6 @@ instructions from our site. For most users, the web-based installation approach is no less secure and avoids needing any software beyond a browser with WebUSB support.

- + {% include "footer.html" %} diff --git a/static/install/web.html b/static/install/web.html index e7148ca3..1cf32f12 100644 --- a/static/install/web.html +++ b/static/install/web.html @@ -33,24 +33,7 @@ [[js|/js/web-install.js]] -
- -
+ {% include "header.html" %}

Web installer

@@ -465,16 +448,6 @@
- + {% include "footer.html" %} -- cgit v1.3.1