]> git.wh0rd.org - nano-editor.git/blobdiff - top.php
add a link in the docs section to the manual as PDF
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index 87c4ff19109238f347c7cbabad0cb5ee8a4a397d..54450839dbb45cc26bdabe5152548132032ba36e 100644 (file)
--- a/top.php
+++ b/top.php
@@ -3,14 +3,18 @@
 
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+   <title>nano &ndash; <?= $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)"/>
+   <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)">
 </head>
 
 <body>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
+<table BORDER=0 CELLSPACING=0 WIDTH="100%">
 <tr><td>
 
 <table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">