Initial Commit

Add the basic structure of the site.
This commit is contained in:
2022-06-28 15:27:58 -04:00
commit 6b8157f551
69 changed files with 5011 additions and 0 deletions

12
common/h1_month.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/get_month_name.php');
$current_dir = basename(getcwd());
$named_month = get_month_name($current_dir);
if ( $named_month == "blog") {
echo "<h1>Blog Posts</h1>";
}elseif ($named_month == "by_year"){
echo "<h1>Posts by Year</h1>";
} else {
echo "<h1>Posts for ". $named_month ."</h1> ";
}
?>