From: Ben Sherratt Date: Wed, 30 Aug 2023 19:55:58 +0000 (+0100) Subject: Added post title to page title X-Git-Url: https://git.bts.cx/cx.git/commitdiff_plain/04d8d3de247226f9530964084bdf16e55c9f2742?hp=b01ea46d5c7adbc948b43c7804e40e2aaa7be5db Added post title to page title --- diff --git a/cx/templates/public/base.php b/cx/templates/public/base.php index 83fef3d..d031247 100644 --- a/cx/templates/public/base.php +++ b/cx/templates/public/base.php @@ -5,13 +5,19 @@ + + + <?= cx_site_name(); ?> - <?= $cx_post_title; ?> + <?= cx_site_name(); ?> + + - + diff --git a/cx/templates/public/post.php b/cx/templates/public/post.php index f44cb29..4b7993d 100644 --- a/cx/templates/public/post.php +++ b/cx/templates/public/post.php @@ -1,7 +1,7 @@ get_metadata(); ?> date) . '/' . date('m', $post->date) . '/' . $post->slug; ?> - $post_metadata, 'cx_post_permalink' => $post_permalink]); ?> + $post->title, 'cx_post_meta' => $post_metadata, 'cx_post_permalink' => $post_permalink]); ?>