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 --- .../articles/attestation-compatibility-guide.html | 31 ++------------------ static/articles/grapheneos-servers.html | 31 ++------------------ static/articles/index.html | 33 +++------------------- static/articles/server-traffic-shaping.html | 31 ++------------------ .../sitewide-advertising-industry-opt-out.html | 31 ++------------------ 5 files changed, 12 insertions(+), 145 deletions(-) (limited to 'static/articles') diff --git a/static/articles/attestation-compatibility-guide.html b/static/articles/attestation-compatibility-guide.html index 16c6c61a..8c80b69e 100644 --- a/static/articles/attestation-compatibility-guide.html +++ b/static/articles/attestation-compatibility-guide.html @@ -30,24 +30,7 @@ -
- -
+ {% include "header.html" %}

Attestation compatibility guide

@@ -129,16 +112,6 @@ app security model but substantially reinforces it, so it cannot be justified with reasoning based on security, anti-fraud, etc.

- + {% include "footer.html" %} diff --git a/static/articles/grapheneos-servers.html b/static/articles/grapheneos-servers.html index 3003c69e..f73de69e 100644 --- a/static/articles/grapheneos-servers.html +++ b/static/articles/grapheneos-servers.html @@ -31,24 +31,7 @@ [[js|/js/redirect.js]] -
- -
+ {% include "header.html" %}

GrapheneOS servers

@@ -714,16 +697,6 @@
- + {% include "footer.html" %} diff --git a/static/articles/index.html b/static/articles/index.html index d4f4b26b..4864d355 100644 --- a/static/articles/index.html +++ b/static/articles/index.html @@ -30,24 +30,9 @@ -
- -
+ {% with current_page="articles" %} + {% include "header.html" %} + {% endwith %}

Articles

@@ -76,16 +61,6 @@
  • Sitewide advertising industry opt-out — Using ads.txt / app-ads.txt to disallow buying or selling ads for a domain.
  • - + {% include "footer.html" %} diff --git a/static/articles/server-traffic-shaping.html b/static/articles/server-traffic-shaping.html index 654d6e8f..f38dac95 100644 --- a/static/articles/server-traffic-shaping.html +++ b/static/articles/server-traffic-shaping.html @@ -30,24 +30,7 @@ -
    - -
    + {% include "header.html" %}

    Server traffic shaping

    @@ -257,16 +240,6 @@ PriorityQueueingPreset=besteffort streams.

    - + {% include "footer.html" %} diff --git a/static/articles/sitewide-advertising-industry-opt-out.html b/static/articles/sitewide-advertising-industry-opt-out.html index c49e6ce8..387e67e0 100644 --- a/static/articles/sitewide-advertising-industry-opt-out.html +++ b/static/articles/sitewide-advertising-industry-opt-out.html @@ -30,24 +30,7 @@ -
    - -
    + {% include "header.html" %}

    Sitewide advertising industry opt-out

    @@ -77,16 +60,6 @@ of ad fraud for the advertising industry, but they do offer value for domain owners to protect their reputation and discourage adware.

    - + {% include "footer.html" %} -- cgit v1.3.1