From 9533cebef382afbd311bbc5b7447e8603ac462a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Fri, 14 Feb 2025 14:30:42 +0100 Subject: [PATCH] Update templates. --- templates/blog-footer.php | 16 +++++++++++++ templates/blog-header.php | 28 ++++++++++++++++++++++ templates/{page/footer.html => footer.php} | 2 +- templates/{page/header.html => header.php} | 18 +++++++------- templates/page/item.html | 3 --- 5 files changed, 54 insertions(+), 13 deletions(-) create mode 100644 templates/blog-footer.php create mode 100644 templates/blog-header.php rename templates/{page/footer.html => footer.php} (85%) rename templates/{page/header.html => header.php} (62%) delete mode 100644 templates/page/item.html diff --git a/templates/blog-footer.php b/templates/blog-footer.php new file mode 100644 index 0000000..a81a936 --- /dev/null +++ b/templates/blog-footer.php @@ -0,0 +1,16 @@ +

Last updated:

+ + + + diff --git a/templates/blog-header.php b/templates/blog-header.php new file mode 100644 index 0000000..c3dc685 --- /dev/null +++ b/templates/blog-header.php @@ -0,0 +1,28 @@ + + + + + + + + + + <?= $title ?> - <?= $sitetitle ?> + + + + + +
+

+
+ +
+

-

diff --git a/templates/page/footer.html b/templates/footer.php similarity index 85% rename from templates/page/footer.html rename to templates/footer.php index 92f44dc..18a830f 100644 --- a/templates/page/footer.html +++ b/templates/footer.php @@ -7,7 +7,7 @@ Résumé: EN, ES

-

Copyright © 2016-${copyyear} Nicolás A. Ortega Froysa
+

Copyright © 2016- Nicolás A. Ortega Froysa
This document is licensed under the CC-BY-ND 4.0 License.

diff --git a/templates/page/header.html b/templates/header.php similarity index 62% rename from templates/page/header.html rename to templates/header.php index 0f53e03..3eef9fc 100644 --- a/templates/page/header.html +++ b/templates/header.php @@ -1,21 +1,20 @@ - + - + - - - - - ${title} - ${sitetitle} + + + + <?= $title ?> - <?= $sitetitle ?> - +
-

The Music in Noise

+

+

diff --git a/templates/page/item.html b/templates/page/item.html deleted file mode 100644 index 3b5dfcb..0000000 --- a/templates/page/item.html +++ /dev/null @@ -1,3 +0,0 @@ -

${title}

- -%{contentfile}