change label in create page and add title for site
2 files changed, 2 insertions(+), 2 deletions(-)

M includes/site_header.php
M page_create.php
M includes/site_header.php +1 -1
@@ 3,7 3,7 @@ 
 <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
-    <title>nini</title>
+    <title><?=$p??'home'?> - <?=$site_user['name']?></title>
     <link rel="stylesheet" href="style.css">
     <link type="application/atom+xml" rel="alternate" href="feed.php">
     <style>

          
M page_create.php +1 -1
@@ 34,7 34,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST'
     <form action="<?= $_SERVER['PHP_SELF'] ?>" method="post" enctype="multipart/form-data">
         <?php include 'includes/csrf.php' ?>
 
-        <label for="title">Title:</label>
+        <label for="title">Slug (can only contain lowercase letters, numbers, and -):</label>
         <input id="title" type="text" name="name" autocomplete="off" value="<?= $form['name'] ?>" required
                class="form-control"/>