diff --git a/dist/pages.json b/dist/pages.json new file mode 100644 index 0000000000000000000000000000000000000000..c6da4d72d0ebb4c6c1e63948a30b93c0c7e991b5 --- /dev/null +++ b/dist/pages.json @@ -0,0 +1 @@ +{"400":{"title":"Bad Request","message":"The server cannot process the request due to something that is perceived to be a client error."},"401":{"title":"Unauthorized","message":"The requested resource requires an authentication."},"403":{"title":"Access Denied","message":"The requested resource requires an authentication."},"404":{"title":"Resource not found","message":"The requested resource could not be found but may be available again in the future."},"500":{"title":"Webservice currently unavailable","message":"An unexpected condition was encountered.\nOur service team has been dispatched to bring it back online."},"501":{"title":"Not Implemented","message":"The Webserver cannot recognize the request method."},"502":{"title":"Webservice currently unavailable","message":"We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."},"503":{"title":"Webservice currently unavailable","message":"We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."},"520":{"title":"Origin Error - Unknown Host","message":"The requested hostname is not routed. Use only hostnames to access resources."},"521":{"title":"Webservice currently unavailable","message":"We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."},"533":{"title":"Scheduled Maintenance","message":"This site is currently down for maintenance.\nOur service team is working hard to bring it back online soon."}} \ No newline at end of file diff --git a/dist/pages.tar b/dist/pages.tar index 583cc6a4ba96f190793fc50f8f4d07b8ff079a36..96a61ee163c0a2ab4dc947b396a5d3cb398af8c9 100644 Binary files a/dist/pages.tar and b/dist/pages.tar differ diff --git a/dist/pages.zip b/dist/pages.zip index 2e1ec2381e1d50bc34904e96f203d257b4183700..c35aa903b6c11d36c940e78aa8a85bd7a6e1256c 100644 Binary files a/dist/pages.zip and b/dist/pages.zip differ diff --git a/generator.php b/generator.php index ae4aa060504aaf2386dd978357fb5bf891355d40..a2ddd2d9dec520bb2c4633ad6aca1a398ed97ba6 100644 --- a/generator.php +++ b/generator.php @@ -24,6 +24,9 @@ $config = parse_ini_file($configFilename, false); // load pages $pages = require('pages.php'); +// store pages as json data +file_put_contents('dist/pages.json', json_encode($pages)); + // load inline css $css = trim(file_get_contents('assets/Layout.css'));