aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Kooman <fkooman@tuxed.net>2019-10-11 13:57:23 +0200
committerFrançois Kooman <fkooman@tuxed.net>2019-10-11 13:57:23 +0200
commitee6b9cbcb250e4728242df4982a07074c6f50646 (patch)
treedfab578e5a3f6c9022cdbe1bb22779b5087441c1
parentb6341add46c2f8a9e897e51b2f8734adae8e1240 (diff)
downloadwww.tuxed.net-ee6b9cbcb250e4728242df4982a07074c6f50646.zip
www.tuxed.net-ee6b9cbcb250e4728242df4982a07074c6f50646.tar.gz
www.tuxed.net-ee6b9cbcb250e4728242df4982a07074c6f50646.tar.xz
no longer need unixTime
-rw-r--r--bin/generate.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/generate.php b/bin/generate.php
index 066d455..a7ad295 100644
--- a/bin/generate.php
+++ b/bin/generate.php
@@ -32,7 +32,6 @@ $templates->addDefault(
'blogTitle' => 'François\' Blog',
'blogDescription' => '',
'blogAuthor' => 'François Kooman',
- 'unixTime' => time(),
'generatedOn' => $dateTime->format(DateTime::ATOM),
'currentYear' => $dateTime->format('Y'),
]
@@ -148,7 +147,6 @@ foreach ($postsList as $post) {
$postPage = $templates->render(
'post',
[
- 'unixTime' => time(),
'requestRoot' => '../',
'pagesList' => $pagesList,
'activePage' => 'index.html',
@@ -164,7 +162,6 @@ foreach ($pagesList as $page) {
$pagePage = $templates->render(
'page',
[
- 'unixTime' => time(),
'requestRoot' => '',
'activePage' => $page['fileName'],
'pagesList' => $pagesList,