]> git.wh0rd.org - nano-editor.git/blob - top.php
add <meta> for device width to improve mobile rendering
[nano-editor.git] / top.php
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html lang="en">
3
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <title>nano &ndash; <?= $title ?></title>
8 <?php if (isset($mainpage)): ?>
9 <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
10 <?php endif; ?>
11 <link rel="icon" href="/favicon.ico">
12 <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)">
13 <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)">
14 </head>
15
16 <body>
17
18 <table border=0 cellspacing=0 width="100%">
19 <tr><td>
20
21 <table border=0 cellspacing=0 width="100%" class="inverted">
22 <tr>
23
24 <td>
25 &nbsp;Latest version:
26 <?php include "last-version"; ?>
27 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
28 </td>
29
30 <td align="center">
31 <a href="/">The GNU nano homepage</a>
32 </td>
33
34 <td align="right">
35 Modified:
36 <?php include "last-modified"; ?>
37 &nbsp;
38 </td>
39
40 </tr>
41 </table>
42
43 </td></tr>
44 </table>