36 lines
909 B
PHP
Raw Normal View History

2025-02-14 14:32:04 +01:00
<?php
2025-02-25 13:29:47 +01:00
require "config.php";
2025-02-14 14:32:04 +01:00
$title = "Poetry";
$description = "A collection of some of my poems.";
$keywords = "poetry, religion, catholicism";
require "templates/header.php";
?>
2025-03-03 13:36:49 +01:00
2020-12-04 19:18:21 +01:00
<p>I'm not truly super into writing poetry, or reading it for that
matter, but every now and then I do like to read certain special poems,
and even write some poetry of my own. That being said, it's truly not
all that different from writing song lyrics. I guess my point is don't
expect much.</p>
<ul>
2025-03-03 13:36:49 +01:00
<?php
$dir_files = scandir(dirname(__FILE__), SCANDIR_SORT_DESCENDING);
2025-03-03 13:36:49 +01:00
foreach($dir_files as $file_info) {
if(!str_ends_with($file_info, ".cfg.php") or str_starts_with($file_info, "draft_"))
continue;
2020-12-04 19:18:21 +01:00
require dirname(__FILE__) . "/" . $file_info;
$post_url = str_replace(".cfg.php", "", $file_info);
2025-03-03 13:36:49 +01:00
?>
<li><a href="<?= $post_url ?>" ><?= $title ?></a></li>
<?php
}
?>
</ul>
2025-02-14 14:32:04 +01:00
<?php
require "templates/footer.php"
?>