(franken)log

dev site for hy(de)blog

2023-02-15 Wednesday

Updated /admin/admin.php to add support for:

$dateformat = DATEFORMAT;
$timezone = TIMEZONE;

and the following to globally use the timezone:

fwrite($createfile,'date_default_timezone_set(\'' . $timezone . '\');'.PHP_EOL);

Only included support for Europe/London and America/Toronto at this time.

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Updated all of the following files to swap underscores _ in page names for dashes - to be consistent with the slugs of daily entry pages:

  • managepages.php
  • footer.php
  • addpage.php
  • page.php

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Created blank header.php and sidebar.php files to support the creation & use of common files later on to help reduce duplicate code. sidebar.php will end up containing only the slide out menu.

Shifted what content I thought was safe to move to the relevant template files.

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Moved about.md out of /about and into /pages.

This should be the default page when a new instance is setup. There's no real need for this to be treated like /feeds and /colophon.

Removed reference to 'About' in sidebar.php as it will now appear automatically with other editable pages.

Deleted the /about directory, and its contents, as a result.

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.