summaryrefslogtreecommitdiff
path: root/php/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/footer.php')
-rw-r--r--php/footer.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/php/footer.php b/php/footer.php
new file mode 100644
index 0000000..4a32baf
--- /dev/null
+++ b/php/footer.php
@@ -0,0 +1,14 @@
+<?php
+
+require_once PHP_DIR . 'replace.php';
+
+$year = date('Y');
+
+$targets = [
+ '{{YEAR}}' => $year
+];
+
+$html = replace(HTML_DIR . 'footer.html', $targets);
+
+echo $html;
+?>