prefix the title of each page with "nano — "
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index e65903563aa0e070cb6b995447db70b95f55fb6e..1ef93bef969bc8dc5d5097b808b1541cbbff6b3b 100644 (file)
--- a/top.php
+++ b/top.php
@@ -3,7 +3,10 @@
 
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-   <title><?= $title ?></title>
+   <title>nano &mdash; <?= $title ?></title>
+<?php if (isset($mainpage)): ?>
+   <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
+<?php endif; ?>
    <link rel="icon" href="/favicon.ico">
    <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)"/>
    <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"/>