Make a php file which will contain an array of descriptions of all pages.
Then do a include_once that file in ready page - parsite it and get all the links...
An example file:
<?php
$config = [
[
'name' =--> 'page_one',
'title' => 'first page',
],
[
'name' => 'page_two',
'title' => 'second page',
],
];
?>
Then take into service a standard class-wrapper
IteratorIterator, in order to bypass the array and get the desired values...