diff options
Diffstat (limited to 'blog')
| -rw-r--r-- | blog/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/blog/index.php b/blog/index.php index 773cc6f..7573d97 100644 --- a/blog/index.php +++ b/blog/index.php @@ -1,6 +1,7 @@ <?php include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/time.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/post.php'; +include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/partials.php'; $post_id = null; $url = parse_url($_SERVER['REQUEST_URI']); @@ -33,6 +34,7 @@ if ($post_id) { <body> <main> + <?php html_header(); ?> <p><a href="/">ilt.su</a> - <a href="/blog/">blog</a></p> <?php if (isset($post)): ?> <h1><?= $post['name'] ?? '<i>No title.</i>' ?></h1> |
