From 2f5472519016b3092dea07d6f041b1cb74c3cd13 Mon Sep 17 00:00:00 2001
From: Adam Spragg
Date: Tue, 19 Jun 2018 16:35:15 +0100
Subject: Output the page head/header/footer with PHP
Allows putting all the repeated stuff in one place (DRY!), so that if it
needs changing it only needs to change once.
Start the name of the included file with "@", and disallow the retrieval
of files beginning with "@" (returning 404) so that it can't be
downloaded, because it won't output anything meaningful.
Why "@"? Because it's about the only ASCII punctuation character that
doesn't mean anything special to most shells (bash), or programs, and is
therefore easy to use as a filename on the command line. I almost went
with "+", but it turns out that nvim treats arguments beginning with "+"
as options. So "@" it is.
---
html/privacy | 21 ++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)
(limited to 'html/privacy')
diff --git a/html/privacy b/html/privacy
index b2fb82a..6d338fd 100644
--- a/html/privacy
+++ b/html/privacy
@@ -1,21 +1,11 @@
-
+
- Privacy - Spragg Software Services Ltd.
-
+
-