projects
/
thericegoat.com.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a8324a
)
set pages region
author
Eduardo
<
[email protected]
>
Fri, 10 Nov 2023 23:49:01 +0000
(
00:49
+0100)
committer
Eduardo
<
[email protected]
>
Fri, 10 Nov 2023 23:49:01 +0000
(
00:49
+0100)
page-generator/index.php
patch
|
blob
|
history
diff --git
a/page-generator/index.php
b/page-generator/index.php
index 503826c74562e1d2263aa5b071186d3354d66fc8..db37ea5c33322f23a4bbc2473b00d0e6eb8167c2 100644
(file)
--- a/
page-generator/index.php
+++ b/
page-generator/index.php
@@
-112,6
+112,7
@@
$generator->writeToFile($header_path, '</nav>');
$generator->writeToFile($header_path, '</section>');
#endregion
+#region pages
// populate page array with paths
$page_array = [];
@@
-233,6
+234,8
@@
foreach ($page_list as $page) {
$generator->writeToFile($page_path, file_get_contents($footer_path));
}
+#endregion
+
// remove partials
$generator->deleteRecursive(BASE_PATH_TEMP . "/partials");